| Age | Commit message (Collapse) | Author |
|
So far we've been playing a dangerous game... We enabled interrupts
before we actually had the interrupt descriptor table setup.
Fix this so we prevent IRQs to fire before the table is initialized
and attempt to run garbage instead of code
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Use the heap API to implement a 100MiB heap to
be used by the kernel code.
Add example usage to src/kernel.c
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Remap master PIC to IOAddress 0x20 to avoid collisions with CPU
exceptions.
Setup a default interrupt handler and map all interrupts to this handler
by default.
Setup a Keyboard interrupt handler for testing purposes
Wire everything up in the Makefile
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Move the include files to the toxic/ subdirectory, so it gets a bit more
organized.
Ah, yeah, OS name will be renamed to ToxicOS
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Also add a small test to the kernel code
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Create the kernel.c file and its initial start_kernel(), and
jump to it from the ASM.
Also setup the build system to actually build it
Signed-off-by: Carlos Maiolino <[email protected]>
|