Bläddra i källkod

Add target run-nox-<program>

This target allows starting ucore with the specified user program in
pure terminal.

Signed-off-by: Junjie Mao <junjie.mao@hotmail.com>
main
Junjie Mao 9 år sedan
förälder
incheckning
5881597323
9 ändrade filer med 26 tillägg och 1 borttagningar
  1. +2
    -1
      .gitignore
  2. +3
    -0
      labcodes/lab5/Makefile
  3. +3
    -0
      labcodes/lab6/Makefile
  4. +3
    -0
      labcodes/lab7/Makefile
  5. +3
    -0
      labcodes/lab8/Makefile
  6. +3
    -0
      labcodes_answer/lab5_result/Makefile
  7. +3
    -0
      labcodes_answer/lab6_result/Makefile
  8. +3
    -0
      labcodes_answer/lab7_result/Makefile
  9. +3
    -0
      labcodes_answer/lab8_result/Makefile

+ 2
- 1
.gitignore Visa fil

@ -18,4 +18,5 @@ a.out
*.log
*.exe
chytesting
disk0
disk0
*.orig

+ 3
- 0
labcodes/lab5/Makefile Visa fil

@ -294,6 +294,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes/lab6/Makefile Visa fil

@ -294,6 +294,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes/lab7/Makefile Visa fil

@ -294,6 +294,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes/lab8/Makefile Visa fil

@ -343,6 +343,9 @@ run-%: build-%
sh-%: script-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$*"

+ 3
- 0
labcodes_answer/lab5_result/Makefile Visa fil

@ -285,6 +285,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes_answer/lab6_result/Makefile Visa fil

@ -285,6 +285,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes_answer/lab7_result/Makefile Visa fil

@ -285,6 +285,9 @@ MAKEOPTS := --quiet --no-print-directory
run-%: build-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$* -DTESTSTART=$(RUN_PREFIX)$*_out_start -DTESTSIZE=$(RUN_PREFIX)$*_out_size"

+ 3
- 0
labcodes_answer/lab8_result/Makefile Visa fil

@ -335,6 +335,9 @@ run-%: build-%
sh-%: script-%
$(V)$(QEMU) -parallel stdio $(QEMUOPTS) -serial null
run-nox-%: build-%
$(V)$(QEMU) -serial mon:stdio $(QEMUOPTS) -nographic
build-%: touch
$(V)$(MAKE) $(MAKEOPTS) "DEFS+=-DTEST=$*"

Laddar…
Avbryt
Spara