summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2025-09-14Add a kernel heapCarlos Maiolino
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]>
2025-09-14Add a simple heap implementationCarlos Maiolino
Add a simple API implementing a heap memory area. This specifies 2 main data structures: struct heap - Defines a heap: Holds a table with all entries in the specific heap and the initial heap memory address struct heap_table - Describes the usage state of every PAGE within the specific heap. Signed-off-by: Carlos Maiolino <[email protected]>
2025-08-25Add error numbersCarlos Maiolino
This is supposed to be compliand with POSIX Signed-off-by: Carlos Maiolino <[email protected]>
2025-08-25Add math libCarlos Maiolino
So far I just need a roundup routine to implement a basic heap manager Signed-off-by: Carlos Maiolino <[email protected]>
2025-08-25IO: Add in/out declarations/definitionsCarlos Maiolino
I've forgotten to commit this when working on interrupts. The OS won't build without these helpers. They are used for now mostly to setup PICs. Signed-off-by: Carlos Maiolino <[email protected]>
2025-08-22vga.h: Fix unknown type nameCarlos Maiolino
This has only been working so far because vga.h was included only on source files already including stdint.h. We should put it direct to the header file Signed-off-by: Carlos Maiolino <[email protected]>
2025-08-01Implement interrupt descriptor tableCarlos Maiolino
Signed-off-by: Carlos Maiolino <[email protected]>
2025-07-26Move include files to a subdirectoryCarlos Maiolino
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]>
2025-07-25Add VGA text mode driverCarlos Maiolino
Add driver to deal with VGA text mode. Also adds a simple vprintl function while I don't implement a print library. Signed-off-by: Carlos Maiolino <[email protected]>
2025-07-20Add kernel.cCarlos Maiolino
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]>