proc: fix errors, enter userspace
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
b279d0a06a
commit
c7fa9a75fa
15 changed files with 86 additions and 8 deletions
|
|
@ -41,22 +41,26 @@ $(INITRAMFS): initramfs/
|
|||
.PHONY += run
|
||||
run: edk2-ovmf $(INITRAMFS) $(IMG)
|
||||
qemu-system-$(ARCH) \
|
||||
-no-reboot \
|
||||
-M q35 \
|
||||
-drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \
|
||||
-accel kvm \
|
||||
-hda $(IMG) \
|
||||
-hdb test_drive.hdd \
|
||||
-nographic \
|
||||
-serial mon:stdio \
|
||||
$(QEMUFLAGS)
|
||||
|
||||
.PHONY += debug
|
||||
debug: edk2-ovmf $(IMG)
|
||||
qemu-system-$(ARCH) \
|
||||
-no-reboot \
|
||||
-S -s \
|
||||
-M q35 \
|
||||
-drive if=pflash,unit=0,format=raw,file=edk2-ovmf/ovmf-code-$(ARCH).fd,readonly=on \
|
||||
-hda $(IMG) \
|
||||
-hdb test_drive.hdd \
|
||||
-nographic \
|
||||
-serial mon:stdio \
|
||||
$(QEMUFLAGS)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue