mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
Disable bounds-checking for release builds and use std vga with qemu
By passing "-std vga" to qemu we can access all sorts of useful resolutions for testing the kernel (e.g 2560x1600x32)
This commit is contained in:
parent
540f288e61
commit
99977294aa
5
Makefile
5
Makefile
@ -129,13 +129,14 @@ iso:
|
||||
|
||||
endif
|
||||
|
||||
run: GC_FLAGS += -B
|
||||
run: iso
|
||||
qemu-system-$(ARCH) -cdrom $(iso_target) -d int,cpu_reset -no-reboot
|
||||
qemu-system-$(ARCH) -cdrom $(iso_target) -vga std -d int,cpu_reset -no-reboot
|
||||
|
||||
# When building gdb target disable optimizations (-N) and inlining (l) of Go code
|
||||
gdb: GC_FLAGS += -N -l
|
||||
gdb: iso
|
||||
qemu-system-$(ARCH) -M accel=tcg -s -S -cdrom $(iso_target) &
|
||||
qemu-system-$(ARCH) -M accel=tcg -vga std -s -S -cdrom $(iso_target) &
|
||||
sleep 1
|
||||
gdb \
|
||||
-ex 'add-auto-load-safe-path $(pwd)' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user