From 44f9642bfc9ce9f740d508670befb569e06621a2 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 19 Oct 2026 11:06:32 -0400 Subject: add debug console. start work on userland pagedir manipulation tools --- compile_commands.json | 331 ++++++++++++++++++++++++++++---------------------- 1 file changed, 183 insertions(+), 148 deletions(-) (limited to 'compile_commands.json') diff --git a/compile_commands.json b/compile_commands.json index 9454f3c..2ec111f 100644 --- a/compile_commands.json +++ b/compile_commands.json @@ -13,6 +13,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -41,6 +44,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -69,6 +75,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -97,6 +106,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -111,34 +123,6 @@ "directory": "/home/jon/prg/jove/kernel", "output": "boot/cmdline.o" }, - { - "file": "boot/initrd.c", - "arguments": [ - "x86_64-jove-gcc", - "-ffreestanding", - "-fno-pie", - "-fno-pic", - "-g", - "-MD", - "-mno-sse", - "-D__x86_64__", - "-D__limine__", - "-Iinclude", - "-I.", - "-march=x86-64", - "-m64", - "-mno-red-zone", - "-mno-mmx", - "-mcmodel=kernel", - "-mfsgsbase", - "-c", - "boot/initrd.c", - "-o", - "boot/initrd.o" - ], - "directory": "/home/jon/prg/jove/kernel", - "output": "boot/initrd.o" - }, { "file": "lib/bitmap.c", "arguments": [ @@ -153,6 +137,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -181,6 +168,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -209,6 +199,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -237,6 +230,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -265,6 +261,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -293,6 +292,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -321,6 +323,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -336,7 +341,7 @@ "output": "lib/tar.o" }, { - "file": "lib/virtterm.c", + "file": "hal/region.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -349,6 +354,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -356,15 +364,15 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "lib/virtterm.c", + "hal/region.c", "-o", - "lib/virtterm.o" + "hal/region.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "lib/virtterm.o" + "output": "hal/region.o" }, { - "file": "hal/region.c", + "file": "hal/shmem.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -377,6 +385,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -384,15 +395,15 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "hal/region.c", + "hal/shmem.c", "-o", - "hal/region.o" + "hal/shmem.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "hal/region.o" + "output": "hal/shmem.o" }, { - "file": "hal/shmem.c", + "file": "hal/untyped.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -405,6 +416,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -412,15 +426,15 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "hal/shmem.c", + "hal/untyped.c", "-o", - "hal/shmem.o" + "hal/untyped.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "hal/shmem.o" + "output": "hal/untyped.o" }, { - "file": "hal/untyped.c", + "file": "proc/init.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -433,6 +447,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -440,15 +457,15 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "hal/untyped.c", + "proc/init.c", "-o", - "hal/untyped.o" + "proc/init.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "hal/untyped.o" + "output": "proc/init.o" }, { - "file": "proc/init.c", + "file": "proc/ipc.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -461,6 +478,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -468,12 +488,12 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "proc/init.c", + "proc/ipc.c", "-o", - "proc/init.o" + "proc/ipc.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "proc/init.o" + "output": "proc/ipc.o" }, { "file": "proc/process.c", @@ -489,6 +509,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -517,6 +540,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -545,6 +571,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -573,6 +602,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -601,6 +633,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -629,6 +664,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -657,6 +695,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -685,6 +726,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -699,34 +743,6 @@ "directory": "/home/jon/prg/jove/kernel", "output": "sys/syscall.o" }, - { - "file": "sys/syscall_initrd_file.c", - "arguments": [ - "x86_64-jove-gcc", - "-ffreestanding", - "-fno-pie", - "-fno-pic", - "-g", - "-MD", - "-mno-sse", - "-D__x86_64__", - "-D__limine__", - "-Iinclude", - "-I.", - "-march=x86-64", - "-m64", - "-mno-red-zone", - "-mno-mmx", - "-mcmodel=kernel", - "-mfsgsbase", - "-c", - "sys/syscall_initrd_file.c", - "-o", - "sys/syscall_initrd_file.o" - ], - "directory": "/home/jon/prg/jove/kernel", - "output": "sys/syscall_initrd_file.o" - }, { "file": "sys/syscall_message.c", "arguments": [ @@ -741,6 +757,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -769,6 +788,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -797,6 +819,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -825,6 +850,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -853,6 +881,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -881,6 +912,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -895,34 +929,6 @@ "directory": "/home/jon/prg/jove/kernel", "output": "sys/syscall_untyped.o" }, - { - "file": "sys/syscall_vtt.c", - "arguments": [ - "x86_64-jove-gcc", - "-ffreestanding", - "-fno-pie", - "-fno-pic", - "-g", - "-MD", - "-mno-sse", - "-D__x86_64__", - "-D__limine__", - "-Iinclude", - "-I.", - "-march=x86-64", - "-m64", - "-mno-red-zone", - "-mno-mmx", - "-mcmodel=kernel", - "-mfsgsbase", - "-c", - "sys/syscall_vtt.c", - "-o", - "sys/syscall_vtt.o" - ], - "directory": "/home/jon/prg/jove/kernel", - "output": "sys/syscall_vtt.o" - }, { "file": "panic/panic.c", "arguments": [ @@ -937,6 +943,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -952,7 +961,7 @@ "output": "panic/panic.o" }, { - "file": "boot/limine/framebuffer.c", + "file": "debug/debug.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -965,6 +974,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -972,12 +984,12 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "boot/limine/framebuffer.c", + "debug/debug.c", "-o", - "boot/limine/framebuffer.o" + "debug/debug.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "boot/limine/framebuffer.o" + "output": "debug/debug.o" }, { "file": "boot/limine/memorymap.c", @@ -993,6 +1005,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1008,7 +1023,7 @@ "output": "boot/limine/memorymap.o" }, { - "file": "boot/limine/start.c", + "file": "boot/limine/modules.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -1021,6 +1036,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1028,15 +1046,15 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "boot/limine/start.c", + "boot/limine/modules.c", "-o", - "boot/limine/start.o" + "boot/limine/modules.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "boot/limine/start.o" + "output": "boot/limine/modules.o" }, { - "file": "arch/x86_64/lib/printf.c", + "file": "boot/limine/start.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -1049,6 +1067,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1056,12 +1077,12 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "arch/x86_64/lib/printf.c", + "boot/limine/start.c", "-o", - "arch/x86_64/lib/printf.o" + "boot/limine/start.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "arch/x86_64/lib/printf.o" + "output": "boot/limine/start.o" }, { "file": "arch/x86_64/hal/gdt.c", @@ -1077,6 +1098,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1105,6 +1129,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1133,6 +1160,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1161,6 +1191,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1189,6 +1222,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1217,6 +1253,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1245,6 +1284,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1273,6 +1315,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1301,6 +1346,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1329,6 +1377,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1357,6 +1408,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1385,6 +1439,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1399,34 +1456,6 @@ "directory": "/home/jon/prg/jove/kernel", "output": "arch/x86_64/sys/syscall.o" }, - { - "file": "arch/x86_64/sys/syscall_serial.c", - "arguments": [ - "x86_64-jove-gcc", - "-ffreestanding", - "-fno-pie", - "-fno-pic", - "-g", - "-MD", - "-mno-sse", - "-D__x86_64__", - "-D__limine__", - "-Iinclude", - "-I.", - "-march=x86-64", - "-m64", - "-mno-red-zone", - "-mno-mmx", - "-mcmodel=kernel", - "-mfsgsbase", - "-c", - "arch/x86_64/sys/syscall_serial.c", - "-o", - "arch/x86_64/sys/syscall_serial.o" - ], - "directory": "/home/jon/prg/jove/kernel", - "output": "arch/x86_64/sys/syscall_serial.o" - }, { "file": "arch/x86_64/panic/panic.c", "arguments": [ @@ -1441,6 +1470,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1456,7 +1488,7 @@ "output": "arch/x86_64/panic/panic.o" }, { - "file": "arch/x86_64/boot/limine/framebuffer.c", + "file": "arch/x86_64/debug/console.c", "arguments": [ "x86_64-jove-gcc", "-ffreestanding", @@ -1469,6 +1501,9 @@ "-D__limine__", "-Iinclude", "-I.", + "-DDEBUG_SERIAL", + "-DDEBUG_CONSOLE", + "-DDEBUG_IPC", "-march=x86-64", "-m64", "-mno-red-zone", @@ -1476,11 +1511,11 @@ "-mcmodel=kernel", "-mfsgsbase", "-c", - "arch/x86_64/boot/limine/framebuffer.c", + "arch/x86_64/debug/console.c", "-o", - "arch/x86_64/boot/limine/framebuffer.o" + "arch/x86_64/debug/console.o" ], "directory": "/home/jon/prg/jove/kernel", - "output": "arch/x86_64/boot/limine/framebuffer.o" + "output": "arch/x86_64/debug/console.o" } ] \ No newline at end of file -- cgit v1.2.3