Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include Make VM_MAX_KERNEL_ADDRESS end on a p...



details:   https://anonhg.NetBSD.org/src/rev/f561db93c8f4
branches:  trunk
changeset: 499394:f561db93c8f4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Nov 19 03:16:55 2000 +0000

description:
Make VM_MAX_KERNEL_ADDRESS end on a page boundary.

diffstat:

 sys/arch/alpha/include/vmparam.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c243a552e0e6 -r f561db93c8f4 sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h  Sun Nov 19 03:16:34 2000 +0000
+++ b/sys/arch/alpha/include/vmparam.h  Sun Nov 19 03:16:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.18 2000/05/22 17:13:54 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.19 2000/11/19 03:16:55 thorpej Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -118,7 +118,7 @@
 #define VM_MAXUSER_ADDRESS     ((vaddr_t)(ALPHA_USEG_END + 1L))    /* 4T */
 #define VM_MAX_ADDRESS         VM_MAXUSER_ADDRESS
 #define VM_MIN_KERNEL_ADDRESS  ((vaddr_t)ALPHA_K1SEG_BASE)
-#define VM_MAX_KERNEL_ADDRESS  ((vaddr_t)ALPHA_K1SEG_END)
+#define VM_MAX_KERNEL_ADDRESS  trunc_page((vaddr_t)ALPHA_K1SEG_END)
 
 /* virtual sizes (bytes) for various kernel submaps */
 #define VM_PHYS_SIZE           (USRIOSIZE*NBPG)



Home | Main Index | Thread Index | Old Index