Update config

This commit is contained in:
Mark
2019-10-10 16:44:22 +03:00
parent 75d48ffdbc
commit 1e55746e18
4 changed files with 14 additions and 5 deletions
+1
View File
@@ -3,3 +3,4 @@ build
doc/html
doc/latex
bochsrc.txt
config
-2
View File
@@ -1,2 +0,0 @@
# vi: ft=make :
export AMD64_TRACE_IRQ=1
+9
View File
@@ -0,0 +1,9 @@
# vi: ft=make :
# Compilation settings
# amd64-specific
export AMD64_TRACE_IRQ=1
# Emulation
export QEMU_SMP=4
# export QEMU_MEM=512
+4 -3
View File
@@ -124,12 +124,13 @@ $(O)/sys/amd64/initrd.img: amd64_mkstage
@du -sh $@
### Debugging and emulation
QEMU_SMP?=2
QEMU_MEM?=512
QEMU_BIN?=qemu-system-x86_64
QEMU_OPTS?=-serial mon:stdio \
-m 512 \
-m $(QEMU_MEM) \
--accel tcg,thread=multi \
-cpu core2duo \
-smp 2
-smp $(QEMU_SMP)
$(O)/sys/amd64/image.iso: $(O)/sys/amd64/kernel.elf \
$(O)/sys/amd64/loader.elf \