nova: limit user virtual address space on 64bit

This commit is contained in:
Alexander Boettcher 2015-11-26 09:15:27 +01:00 committed by Christian Helmuth
parent f92a6a9594
commit 18130e3120
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
c06bcf2e1978d969d7363bb5802fc80aa5bb30ca
c813250e77060c9831f8752d86e7653793e4722b

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) := 1fe5ac3e72ded82035a01ba2e71a3b24a85154a7
REV(nova) := 84ce824948ba77f465b92a3f50a23fad46853cc0
DIR(nova) := src/kernel/nova
PATCHES := $(wildcard $(REP_DIR)/patches/*.patch)

View File

@ -355,7 +355,7 @@ Platform::Platform() :
/* configure virtual address spaces */
#ifdef __x86_64__
_vm_size = 0x7FFFFFFFF000UL - _vm_base;
_vm_size = 0x7fffc0000000UL - _vm_base;
#else
_vm_size = 0xc0000000UL - _vm_base;
#endif

View File

@ -1,5 +1,5 @@
REQUIRES = 64bit
LD_TEXT_ADDR = 0x7fffff800000
LD_TEXT_ADDR = 0x7fffbf800000
include $(REP_DIR)/src/app/seoul/target.inc