diff options
author | cognet <cognet@FreeBSD.org> | 2005-03-01 20:12:52 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2005-03-01 20:12:52 +0000 |
commit | 1491adb10b398e76119573194efa280f9d4bca60 (patch) | |
tree | 3943c185c07a99dee9786e74c253852ca606c16c | |
parent | f97d0ba60033ee02b81744f48a2ef2ed51a848e1 (diff) | |
download | FreeBSD-src-1491adb10b398e76119573194efa280f9d4bca60.zip FreeBSD-src-1491adb10b398e76119573194efa280f9d4bca60.tar.gz |
Introduce realmem.
-rw-r--r-- | sys/arm/arm/machdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c index 67b34e3..4ff4d29 100644 --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -93,6 +93,8 @@ uint32_t cpu_reset_address = 0; int cold = 1; vm_offset_t vector_page; +long realmem = 0; + void sendsig(catcher, sig, mask, code) sig_t catcher; @@ -242,6 +244,7 @@ cpu_startup(void *dummy) m = vm_page_alloc(NULL, 0, VM_ALLOC_NOOBJ | VM_ALLOC_ZERO); pmap_kenter_user(ARM_TP_ADDRESS, VM_PAGE_TO_PHYS(m)); #endif + realmem = physmem; } |