Browse Source

update Makefiles with qemu -no-reboot option

main
yuchen 9 years ago
parent
commit
c8e545dfb1
8 changed files with 25 additions and 25 deletions
  1. +3
    -3
      labcodes/lab1/Makefile
  2. +3
    -3
      labcodes/lab2/Makefile
  3. +3
    -3
      labcodes/lab3/Makefile
  4. +3
    -3
      labcodes/lab4/Makefile
  5. +3
    -3
      labcodes/lab5/Makefile
  6. +3
    -3
      labcodes/lab6/Makefile
  7. +3
    -3
      labcodes/lab7/Makefile
  8. +4
    -4
      labcodes/lab8/Makefile

+ 3
- 3
labcodes/lab1/Makefile View File

@ -208,12 +208,12 @@ TARGETS: $(TARGETS)
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG)
$(V)$(QEMU) -monitor stdio -hda $< -serial null
$(V)$(QEMU) -no-reboot -monitor stdio -hda $< -serial null
qemu: $(UCOREIMG)
$(V)$(QEMU) -parallel stdio -hda $< -serial null
$(V)$(QEMU) -no-reboot -parallel stdio -hda $< -serial null
qemu-nox: $(UCOREIMG)
$(V)$(QEMU) -serial mon:stdio -hda $< -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio -hda $< -nographic
TERMINAL :=gnome-terminal
debug: $(UCOREIMG)
$(V)$(QEMU) -S -s -parallel stdio -hda $< -serial null &

+ 3
- 3
labcodes/lab2/Makefile View File

@ -232,12 +232,12 @@ QEMUOPTS = -hda $(UCOREIMG)
.PHONY: qemu qemu-nox gdb debug debug-mon debug-nox
qemu-mon: targets
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: targets
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: targets
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
gdb:
$(V)$(GDB) -q -x tools/gdbinit

+ 3
- 3
labcodes/lab3/Makefile View File

@ -226,12 +226,12 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal

+ 3
- 3
labcodes/lab4/Makefile View File

@ -230,12 +230,12 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal

+ 3
- 3
labcodes/lab5/Makefile View File

@ -269,12 +269,12 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal

+ 3
- 3
labcodes/lab6/Makefile View File

@ -269,12 +269,12 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal

+ 3
- 3
labcodes/lab7/Makefile View File

@ -269,12 +269,12 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
TERMINAL := gnome-terminal

+ 4
- 4
labcodes/lab8/Makefile View File

@ -309,15 +309,15 @@ QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback -d
.PHONY: qemu qemu-nox debug debug-nox monitor
qemu-mon: $(UCOREIMG) $(SWAPIMG) $(SFSIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG) $(SFSIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -parallel stdio $(QEMUOPTS) -serial null
qemu-nox: $(UCOREIMG) $(SWAPIMG) $(SFSIMG)
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
$(V)$(QEMU) -no-reboot -serial mon:stdio $(QEMUOPTS) -nographic
monitor: $(UCOREIMG) $(SWAPING) $(SFSIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
$(V)$(QEMU) -no-reboot -monitor stdio $(QEMUOPTS) -serial null
TERMINAL := gnome-terminal

Loading…
Cancel
Save