Skip to content

Commit 01396b3

Browse files
author
Austin Clements
committed
xv6 runs the console on the serial port, not the parallel port
1 parent ccd980b commit 01396b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ GDBPORT = $(shell expr `id -u` % 5000 + 25000)
143143
QEMUOPTS = -smp 2 -hdb fs.img xv6.img
144144

145145
qemu: fs.img xv6.img
146-
qemu -parallel mon:stdio $(QEMUOPTS)
146+
qemu -serial mon:stdio $(QEMUOPTS)
147147

148148
qemutty: fs.img xv6.img
149149
qemu -nographic $(QEMUOPTS)
@@ -153,7 +153,7 @@ qemutty: fs.img xv6.img
153153

154154
qemu-gdb: fs.img xv6.img .gdbinit
155155
@echo "*** Now run 'gdb'." 1>&2
156-
qemu -parallel mon:stdio $(QEMUOPTS) -s -S -p $(GDBPORT)
156+
qemu -serial mon:stdio $(QEMUOPTS) -s -S -p $(GDBPORT)
157157

158158
# CUT HERE
159159
# prepare dist for students

0 commit comments

Comments
 (0)