Cleanup and IRC channel

This commit is contained in:
Julian Barathieu 2019-04-04 18:47:30 +02:00
parent a35203b876
commit b009b6b3c6
4 changed files with 8 additions and 19 deletions

View File

@ -14,6 +14,8 @@ 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.
IRC Channel: #os.k-devel on Freenode
#### Compile from sources
To compile this project from sources, you must first install the dependencies
@ -34,3 +36,4 @@ To compile and test, simply use at the root of this project :
```
make test
```

View File

@ -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();
}

View File

@ -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

View File

@ -324,7 +324,7 @@ void PsInitSched(void)
}
//
// Shutdown scheduler
// Shutdowns scheduler
//
void PsFiniSched(void)
{