🆕 AP处理器切换到64位模式

This commit is contained in:
fslongjin
2022-04-04 22:30:06 +08:00
parent 5df54732f5
commit 5197253dde
7 changed files with 172 additions and 3 deletions

2
run.sh
View File

@ -93,7 +93,7 @@ if [ $flag_can_run -eq 1 ]; then
bochs -q -f ${bochsrc} -rc ./tools/bochsinit
else
qemu-system-x86_64 -cdrom ${iso} -m 512M -smp 2,cores=2,threads=1,sockets=1 \
-monitor telnet::2333,server,nowait -serial stdio -s -S -cpu IvyBridge --enable-kvm \
-monitor stdio -s -S -cpu IvyBridge --enable-kvm \
-drive id=disk,file=bin/disk.img,if=none \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \