summaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcspace.com>2021-09-21 10:50:33 -0500
committerBrett Weiland <brett_weiland@bpcspace.com>2021-09-21 10:50:33 -0500
commitcf7cd8be60c254b44b444c97dcb238d7cf3afd4c (patch)
treee86fe62827f4dbc5f1b6b74cf7bd89c78e797711 /src/makefile
parent907fb823bf8329066b1bcff60ea6c4faa54a3642 (diff)
palloc smp safe (testing required, NOT pfree)
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index cbf3ce1..bb92e5f 100644
--- a/src/makefile
+++ b/src/makefile
@@ -1,5 +1,4 @@
LD=../compiler/indigo_gcc/bin/x86_64-elf-ld
-#CC=../compiler/indigo_gcc/bin/x86_64-elf-gcc
CC=../compiler/indigo_gcc/bin/x86_64-pc-linux-gnu-gcc
OBJCPY=../compiler/indigo_gcc/bin/x86_64-elf-objcopy
INC=-I./include
@@ -60,6 +59,9 @@ smp_trampoline.o:
run:
qemu-system-x86_64 $(QEMU_OPTS) $(QEMU_PRINTDEBUG) -nographic
+run_quiet:
+ qemu-system-x86_64 $(QEMU_OPTS) $(QEMU_PRINTDEBUG) -nographic 2>/dev/null
+
gdb: indigo_os
tmux new-session -s os_gdb "qemu-system-x86_64 -S -s $(QEMU_OPTS) -nographic"\;\
split-window -h "gdb -x debug/gdbinit.gdb; killall qemu-system-x86_64"