From 84b66dba999cb80d44e54b6b5d4289d85aa711e0 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 11 Mar 2019 19:51:14 -0600 Subject: [PATCH] Use 0x402 for qemu debugging --- kernel | 2 +- mk/qemu.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel b/kernel index 445b8ad..b80f38b 160000 --- a/kernel +++ b/kernel @@ -1 +1 @@ -Subproject commit 445b8ad96d6a78160b035361e4183956810d82c5 +Subproject commit b80f38b03950a65821edc2560dc2f32222522bfd diff --git a/mk/qemu.mk b/mk/qemu.mk index 3f9e9df..16d2aaf 100644 --- a/mk/qemu.mk +++ b/mk/qemu.mk @@ -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