Cleanup and IRC channel
This commit is contained in:
parent
a35203b876
commit
b009b6b3c6
|
@ -12,7 +12,9 @@ For changelog, see [ChangeLog](ChangeLog)
|
||||||
For structure of the sources, see [ProjectTree](ProjectTree)
|
For structure of the sources, see [ProjectTree](ProjectTree)
|
||||||
|
|
||||||
Note that every file within OS/K is written using spaces for tabulation, with each
|
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
|
#### Compile from sources
|
||||||
|
|
||||||
|
@ -34,3 +36,4 @@ To compile and test, simply use at the root of this project :
|
||||||
```
|
```
|
||||||
make test
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -141,24 +141,19 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic)
|
||||||
// Initialize the BootInfo_t structure
|
// Initialize the BootInfo_t structure
|
||||||
BtInitBootInfo(mbInfo);
|
BtInitBootInfo(mbInfo);
|
||||||
|
|
||||||
// Get ready to print things
|
// Screen I/O available from this point on
|
||||||
IoInitVGABuffer();
|
IoInitVGABuffer();
|
||||||
|
|
||||||
// Sanity checks and hello world
|
// Sanity checks and hello world
|
||||||
BtInitSanity(mbMagic);
|
BtInitSanity(mbMagic);
|
||||||
|
|
||||||
// Memory mapping
|
// Memory & scheduler
|
||||||
MmInitMemoryMap();
|
MmInitMemoryMap();
|
||||||
|
|
||||||
// Heap initialization
|
|
||||||
MmInitHeap();
|
MmInitHeap();
|
||||||
|
|
||||||
PsInitSched();
|
PsInitSched();
|
||||||
|
|
||||||
// We're out
|
|
||||||
PsFiniSched();
|
|
||||||
|
|
||||||
KeStartPanic("Test Panic %d", 4);
|
KeStartPanic("Test Panic %d", 4);
|
||||||
|
|
||||||
|
// End this machine's suffering
|
||||||
KeCrashSystem();
|
KeCrashSystem();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
|
@ -324,7 +324,7 @@ void PsInitSched(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Shutdown scheduler
|
// Shutdowns scheduler
|
||||||
//
|
//
|
||||||
void PsFiniSched(void)
|
void PsFiniSched(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue