user: implement mlibc as the libc, finally.

It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
kaguya
2026-05-02 03:31:49 -04:00
parent 2fa39ad85a
commit 9a9b91c940
2387 changed files with 152741 additions and 315 deletions
+6 -4
View File
@@ -91,7 +91,7 @@ add_custom_target(iso
)
add_custom_target(disk_img
COMMAND dd if=/dev/zero of=${DISK_IMG} bs=1M count=32
COMMAND dd if=/dev/zero of=${DISK_IMG} bs=1M count=512
COMMAND mkfs.ext2 -F -L KIRKOS ${DISK_IMG}
COMMAND guestfish --rw -a ${DISK_IMG} run
@@ -111,6 +111,7 @@ add_custom_target(run
-smp 2
-device ich9-intel-hda
-device hda-duplex
-cpu qemu64,+fsgsbase
)
add_custom_target(debug
@@ -118,13 +119,14 @@ add_custom_target(debug
COMMAND qemu-system-x86_64
-cdrom ${ISO}
-hda ${DISK_IMG}
-s -S
-debugcon stdio
-s -S
-d int,cpu_reset
-m 8G
-smp 2
-device ich9-intel-hda,id=hda
-device hda-duplex,id=codec0,bus=hda.0,cad=0
-device ich9-intel-hda
-device hda-duplex
-cpu qemu64,+fsgsbase
)
target_include_directories(KirkOS PRIVATE