]> Devi Nivas Git - cs3210-lab0.git/commitdiff
xv6 runs the console on the serial port, not the parallel port
authorAustin Clements <amdragon@mit.edu>
Mon, 21 Sep 2009 03:07:59 +0000 (23:07 -0400)
committerAustin Clements <amdragon@mit.edu>
Mon, 21 Sep 2009 03:07:59 +0000 (23:07 -0400)
Makefile

index 1e73ee1c0e79a7c7aece0f8b7c9f17b29c6bf7bc..2e1b9271a327c2852e25b49bed2e52b26b12f05d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ GDBPORT = $(shell expr `id -u` % 5000 + 25000)
 QEMUOPTS = -smp 2 -hdb fs.img xv6.img
 
 qemu: fs.img xv6.img
-       qemu -parallel mon:stdio $(QEMUOPTS)
+       qemu -serial mon:stdio $(QEMUOPTS)
 
 qemutty: fs.img xv6.img
        qemu -nographic $(QEMUOPTS)
@@ -153,7 +153,7 @@ qemutty: fs.img xv6.img
 
 qemu-gdb: fs.img xv6.img .gdbinit
        @echo "*** Now run 'gdb'." 1>&2
-       qemu -parallel mon:stdio $(QEMUOPTS) -s -S -p $(GDBPORT)
+       qemu -serial mon:stdio $(QEMUOPTS) -s -S -p $(GDBPORT)
 
 # CUT HERE
 # prepare dist for students