Use serial for debugging by default

This commit is contained in:
Jeremy Soller 2019-03-11 19:55:10 -06:00
parent 84b66dba99
commit 0f545ed1a9
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
2 changed files with 6 additions and 2 deletions

2
kernel

@ -1 +1 @@
Subproject commit b80f38b03950a65821edc2560dc2f32222522bfd Subproject commit a0e9f4a8a0f3b00f5b1f54d1960c105ea5a0f73e

View file

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