From b009b6b3c6837f57d61b4cede27283cb6c41b281 Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Thu, 4 Apr 2019 18:47:30 +0200 Subject: [PATCH] Cleanup and IRC channel --- README.md | 5 ++++- kaleid/kernel/init/init.c | 11 +++-------- kaleid/kernel/proc/Makefile | 9 --------- kaleid/kernel/proc/sched.c | 2 +- 4 files changed, 8 insertions(+), 19 deletions(-) delete mode 100644 kaleid/kernel/proc/Makefile diff --git a/README.md b/README.md index 915c162..5c486a0 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ For changelog, see [ChangeLog](ChangeLog) For structure of the sources, see [ProjectTree](ProjectTree) Note that every file within OS/K is written using spaces for tabulation, with each -tabulation being 4 spaces long. +tabulation being 4 spaces long. + +IRC Channel: #os.k-devel on Freenode #### Compile from sources @@ -34,3 +36,4 @@ To compile and test, simply use at the root of this project : ``` make test ``` + diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 7121469..d0b2eea 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -141,24 +141,19 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic) // Initialize the BootInfo_t structure BtInitBootInfo(mbInfo); - // Get ready to print things + // Screen I/O available from this point on IoInitVGABuffer(); // Sanity checks and hello world BtInitSanity(mbMagic); - // Memory mapping + // Memory & scheduler MmInitMemoryMap(); - - // Heap initialization MmInitHeap(); - PsInitSched(); - // We're out - PsFiniSched(); - KeStartPanic("Test Panic %d", 4); + // End this machine's suffering KeCrashSystem(); } diff --git a/kaleid/kernel/proc/Makefile b/kaleid/kernel/proc/Makefile deleted file mode 100644 index 7fe9eea..0000000 --- a/kaleid/kernel/proc/Makefile +++ /dev/null @@ -1,9 +0,0 @@ - -sched-test: - gcc -O0 -Wall -Wextra -I../../include -c ../init/table.c -o table.o - gcc -O2 -Wall -Wextra -I../../include -c ./sched.c -o sched.o - gcc sched.o table.o -o a.out - rm sched.o table.o - -clean: - rm a.out diff --git a/kaleid/kernel/proc/sched.c b/kaleid/kernel/proc/sched.c index 75e448f..09794bc 100644 --- a/kaleid/kernel/proc/sched.c +++ b/kaleid/kernel/proc/sched.c @@ -324,7 +324,7 @@ void PsInitSched(void) } // -// Shutdown scheduler +// Shutdowns scheduler // void PsFiniSched(void) {