update for mooc OS labs

This commit is contained in:
yuchen
2015-01-30 20:20:30 +08:00
parent 6a4eb1f465
commit 87059df293
57 changed files with 586 additions and 129 deletions

View File

@@ -207,6 +207,8 @@ TARGETS: $(TARGETS)
.DEFAULT_GOAL := TARGETS
.PHONY: qemu qemu-nox debug debug-nox
qemu-mon: $(UCOREIMG)
$(V)$(QEMU) -monitor stdio -hda $< -serial null
qemu: $(UCOREIMG)
$(V)$(QEMU) -parallel stdio -hda $< -serial null

View File

@@ -231,6 +231,8 @@ targets: $(TARGETS)
QEMUOPTS = -hda $(UCOREIMG)
.PHONY: qemu qemu-nox gdb debug debug-mon debug-nox
qemu-mon: targets
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
qemu: targets
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -225,6 +225,8 @@ TARGETS: $(TARGETS)
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
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -229,6 +229,8 @@ TARGETS: $(TARGETS)
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
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -268,6 +268,8 @@ TARGETS: $(TARGETS)
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
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -268,6 +268,8 @@ TARGETS: $(TARGETS)
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
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -268,6 +268,8 @@ TARGETS: $(TARGETS)
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
qemu: $(UCOREIMG) $(SWAPIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null

View File

@@ -308,6 +308,8 @@ TARGETS: $(TARGETS)
QEMUOPTS = -hda $(UCOREIMG) -drive file=$(SWAPIMG),media=disk,cache=writeback -drive file=$(SFSIMG),media=disk,cache=writeback
.PHONY: qemu qemu-nox debug debug-nox monitor
qemu-mon: $(UCOREIMG) $(SWAPIMG) $(SFSIMG)
$(V)$(QEMU) -monitor stdio $(QEMUOPTS) -serial null
qemu: $(UCOREIMG) $(SWAPIMG) $(SFSIMG)
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null