Use 0x402 for qemu debugging

This commit is contained in:
Jeremy Soller 2019-03-11 19:51:14 -06:00
parent 98b3a22a20
commit 84b66dba99
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
2 changed files with 3 additions and 2 deletions

2
kernel

@ -1 +1 @@
Subproject commit 445b8ad96d6a78160b035361e4183956810d82c5
Subproject commit b80f38b03950a65821edc2560dc2f32222522bfd

View file

@ -1,6 +1,7 @@
QEMU=SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-$(ARCH)
QEMUFLAGS=-serial mon:stdio -d cpu_reset -d guest_errors
QEMUFLAGS=-d cpu_reset -d guest_errors
QEMUFLAGS+=-smp 4 -m 2048
QEMUFLAGS+=-chardev stdio,id=debug -device isa-debugcon,iobase=0x402,chardev=debug
ifeq ($(iommu),yes)
QEMUFLAGS+=-machine q35,iommu=on
else