add kernelvec

This commit is contained in:
Robert Morris 2019-06-06 05:19:35 -04:00
parent dff7ab3f8f
commit b05bcce939
2 changed files with 113 additions and 1 deletions

View file

@ -153,7 +153,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \
then echo "-gdb tcp::$(GDBPORT)"; \
else echo "-s -p $(GDBPORT)"; fi)
ifndef CPUS
CPUS := 2
CPUS := 1
endif
QEMUOPTS = -machine virt -kernel kernel -m 3G -smp $(CPUS) -nographic
QEMUOPTS += -initrd fs.img