git.cappig.dev / apheleiaOS.git master

3a1068d70dde58e9043e01756253dc48023ccd70 master
cappig <[email protected]> ยท 1 year ago
Build system and syntax updates

* Add a build system component that allows us to run CodeChecker
* Separate the PIT driver code fro the PIC
* Fix some stuff in the GDT driver code
* Small fixes in the kmalloc and mmu code
* Add the dump_table(...) debug function
* Small strdup() fixes, add the HAS_GMALLOC guard macro
* Stop indenting preprocessor directives (clang-format)
* Pin package versions in the Dockerfile
* A bunch of small fixes and syntactic changes
52 files changed, 349 insertions, 197 deletions
.clang-format +1 -1
.gitignore +2 -0
boot/bios/disk.c +3 -2
boot/bios/memory.c +5 -5
boot/bios/memory.h +3 -3
boot/bios/paging.c +3 -4
build/toolchain.mk +15 -10
compile_flags.txt +1 -0
kernel/arch/gdt.c +8 -8
kernel/arch/gdt.h +2 -2
kernel/arch/idt.c +20 -4
kernel/arch/idt.h +5 -0
kernel/arch/panic.c +1 -1
kernel/arch/panic.h +7 -6
kernel/arch/pic.c +33 -34
kernel/arch/pic.h +4 -18
kernel/arch/pit.c created
kernel/arch/pit.h created
kernel/build.mk +1 -0
kernel/drivers/ide.c +3 -0
kernel/drivers/mbr.c +5 -2
kernel/drivers/pci.h +1 -1
kernel/drivers/ps2.c +4 -2
kernel/main.c +1 -1
kernel/mem/heap.c +21 -14
kernel/mem/heap.h +2 -1
kernel/mem/physical.c +13 -8
kernel/mem/virtual.c +40 -7
kernel/mem/virtual.h +2 -0
kernel/vfs/driver.c +1 -0
kernel/video/tty.h +1 -1
libs/alloc/bitmap.c +1 -1
libs/alloc/global.h +2 -0
libs/base/attributes.h +7 -9
libs/data/list.c +4 -7
libs/data/tree.c +2 -0
libs/libc/inttypes.h +4 -4
libs/libc/limits.h +4 -4
libs/libc/sprintf.c +6 -4
libs/libc/stdbool.h +3 -3
libs/libc/stddef.h +2 -2
libs/libc/string.c +20 -10
libs/libc/string.h +2 -0
libs/libc_ext/string.c +3 -2
libs/libc_ext/string.h +2 -0
libs/x86/e820.c +6 -3
libs/x86/paging.h +6 -6
libs/x86/regs.h +0 -1
libs/x86/serial.c +2 -2
makefile +1 -0
utils/Dockerfile +4 -4
utils/check.mk created