user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
+6
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user