nova: fix oom handling in kernel

Fixes #2126
This commit is contained in:
Alexander Boettcher 2016-10-12 08:58:50 +02:00 committed by Christian Helmuth
parent 891bad8d54
commit 4b148d896a
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
6f6dc94fadf93e9fad741bbf6b2938f92e45f948
dcaeb80c39a8f324129517bed071191b2243a8a7

View File

@ -4,7 +4,7 @@ DOWNLOADS := nova.git
# r9 branch - use r9_debug for more verbose kernel messages
URL(nova) := https://github.com/alex-ab/NOVA.git
REV(nova) := bc5851221c412aa92d06c57b5b41944dd2ab08ae
REV(nova) := 6ad6dcece4ab9fb5c0caab0a0734c3082c5753c4
DIR(nova) := src/kernel/nova
PATCHES := $(wildcard $(REP_DIR)/patches/*.patch)

View File

@ -21,11 +21,11 @@ CC_OPT += -pipe \
-fno-stack-protector -fvisibility-inlines-hidden \
-fno-asynchronous-unwind-tables -std=gnu++0x
ifeq ($(filter-out $(SPECS),32bit),)
CC_WARN += -Wframe-larger-than=64
CC_WARN += -Wframe-larger-than=92
CC_OPT += -mpreferred-stack-boundary=2 -mregparm=3
else
ifeq ($(filter-out $(SPECS),64bit),)
CC_WARN += -Wframe-larger-than=144
CC_WARN += -Wframe-larger-than=240
CC_OPT += -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone
else
$(error Unsupported environment)