Fix running on bochs by forcing x86 pentium codegen
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
megs: 128
|
||||
cpu: model=pentium
|
||||
# roms
|
||||
romimage: file=/usr/share/bochs/BIOS-bochs-latest
|
||||
romimage: file=/usr/share/bochs/BIOS-bochs-latest, options=fastboot
|
||||
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest.bin
|
||||
# device config
|
||||
ata0: enabled=1
|
||||
|
||||
@@ -3,4 +3,5 @@ set default=0
|
||||
|
||||
menuentry "mop3" {
|
||||
multiboot /boot/kernel.elf
|
||||
boot
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ i386_pc_qemu: $(srctree)/out/i386_pc/mop3.iso
|
||||
|
||||
i386_pc_bochs: $(srctree)/out/i386_pc/mop3.iso
|
||||
rm -f $(srctree)/bochs.log
|
||||
bochs -f $(srctree)/platform/i386_pc/bochsrc.txt -q
|
||||
-bochs -f $(srctree)/platform/i386_pc/bochsrc.txt -q
|
||||
|
||||
.PHONY: i386_pc_qemu i386_pc_bochs
|
||||
|
||||
Reference in New Issue
Block a user