Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 Use PAGE_SIZE instead of 1000



details:   https://anonhg.NetBSD.org/src/rev/3e7712e566da
branches:  trunk
changeset: 793781:3e7712e566da
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Feb 26 01:55:02 2014 +0000

description:
Use PAGE_SIZE instead of 1000

diffstat:

 sys/arch/arm/include/arm32/vmparam.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 6cc8198cf36e -r 3e7712e566da sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h      Wed Feb 26 01:54:35 2014 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h      Wed Feb 26 01:55:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.30 2014/02/21 22:05:58 skrll Exp $       */
+/*     $NetBSD: vmparam.h,v 1.31 2014/02/26 01:55:02 matt Exp $        */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -77,12 +77,12 @@
 /*
  * Mach derived constants
  */
-#define        VM_MIN_ADDRESS          ((vaddr_t) 0x00001000)
-#define        VM_MAXUSER_ADDRESS      ((vaddr_t) KERNEL_BASE - 0x1000)
+#define        VM_MIN_ADDRESS          ((vaddr_t) PAGE_SIZE)
+#define        VM_MAXUSER_ADDRESS      ((vaddr_t) KERNEL_BASE - PAGE_SIZE)
 #define        VM_MAX_ADDRESS          VM_MAXUSER_ADDRESS
 
 #define        VM_MIN_KERNEL_ADDRESS   ((vaddr_t) KERNEL_BASE)
-#define        VM_MAX_KERNEL_ADDRESS   ((vaddr_t) 0xffffefff)
+#define        VM_MAX_KERNEL_ADDRESS   ((vaddr_t) -(PAGE_SIZE+1))
 
 #ifndef __ASSEMBLER__
 /* XXX max. amount of KVM to be used by buffers. */



Home | Main Index | Thread Index | Old Index