[arch][arm] Add USER_ASPACE_BASE and USER_ASPACE_SIZE to GLOBAL_DEFINES
Also adds default values. Change-Id: Iaab601681d3129f21a0d5457af2442dbda08613d
This commit is contained in:
committed by
Travis Geiselbrecht
parent
cb9960b3d7
commit
54786a2d09
@@ -259,12 +259,17 @@ WITH_LINKER_GC ?= 1
|
||||
# we have a mmu and want the vmm/pmm
|
||||
WITH_KERNEL_VM ?= 1
|
||||
|
||||
USER_ASPACE_BASE ?= 0x00001000
|
||||
USER_ASPACE_SIZE ?= 0x3fffe000
|
||||
|
||||
# for arm, have the kernel occupy the entire top 3GB of virtual space,
|
||||
# but put the kernel itself at 0x80000000.
|
||||
# this leaves 0x40000000 - 0x80000000 open for kernel space to use.
|
||||
GLOBAL_DEFINES += \
|
||||
KERNEL_ASPACE_BASE=0x40000000 \
|
||||
KERNEL_ASPACE_SIZE=0xc0000000
|
||||
KERNEL_ASPACE_SIZE=0xc0000000 \
|
||||
USER_ASPACE_BASE=$(USER_ASPACE_BASE) \
|
||||
USER_ASPACE_SIZE=$(USER_ASPACE_SIZE)
|
||||
|
||||
KERNEL_BASE ?= 0x80000000
|
||||
KERNEL_LOAD_OFFSET ?= 0
|
||||
|
||||
Reference in New Issue
Block a user