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) {