diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-09 12:32:01 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-09 12:32:01 +0200 |
commit | 7b7c0a79787957902cb5a0f0b971dac087ed9955 (patch) | |
tree | 5509ff71c460366102bd431daa6524330755ae94 /src/Makefile | |
parent | bf5959115fb0f78f12f716e5a177d2c046868032 (diff) | |
download | abaos-7b7c0a79787957902cb5a0f0b971dac087ed9955.tar.gz abaos-7b7c0a79787957902cb5a0f0b971dac087ed9955.tar.bz2 |
fixed the vga_refresh bug. the problem is under optimization the
code gets so fast that we get races in the task refershing the VGA
screen. For now we fix also high CPU usage in idle tasks with
a 'kernel_halt' (well, later a yield or a more clever task
scheduler should help). This is a hacky solution for now..
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 0586d4b..b44e310 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ CC := gcc INCLUDES = -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui -CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O0 -g -Werror $(INCLUDES) +CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O3 -g -Werror $(INCLUDES) LD := ld NASMFLAGS := -f elf32 NASM := nasm |