diff --git a/Makefile b/Makefile index 1d12793..f678886 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,9 @@ CFLAGS += -I./kern/libkern all: kern/kernel.elf +quickstart: + make get_toolchain && bear -- make -j$(nproc) && make qemu + KERNEL_OBJ := \ kern/entry.o \ kern/start.o \ @@ -135,4 +138,4 @@ info: -include *.d -.PHONY: all qemu info +.PHONY: all qemu info quickstart diff --git a/kern/start.c b/kern/start.c index 0ac35a6..0e4b264 100644 --- a/kern/start.c +++ b/kern/start.c @@ -57,6 +57,7 @@ void start() { else PANIC("Some cores seem to have been enumerated incorrectly!\n"); + kprintf("To exit qemu, press CTRL+a followed by x\n"); spin_unlock(&sl); }