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 Tweak max addresses a bit so that...
details: https://anonhg.NetBSD.org/src/rev/49faf34926bb
branches: trunk
changeset: 781042:49faf34926bb
user: matt <matt%NetBSD.org@localhost>
date: Thu Aug 16 07:25:37 2012 +0000
description:
Tweak max addresses a bit so that [r1, #off] can't overflow them.
diffstat:
sys/arch/arm/include/arm32/vmparam.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 5d0a9d23d4a4 -r 49faf34926bb sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h Thu Aug 16 07:24:25 2012 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h Thu Aug 16 07:25:37 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.26 2012/02/16 02:27:11 christos Exp $ */
+/* $NetBSD: vmparam.h,v 1.27 2012/08/16 07:25:37 matt Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -81,11 +81,11 @@
* Mach derived constants
*/
#define VM_MIN_ADDRESS ((vaddr_t) 0x00001000)
-#define VM_MAXUSER_ADDRESS ((vaddr_t) KERNEL_BASE)
+#define VM_MAXUSER_ADDRESS ((vaddr_t) KERNEL_BASE - 0x1000)
#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t) KERNEL_BASE)
-#define VM_MAX_KERNEL_ADDRESS ((vaddr_t) 0xffffffff)
+#define VM_MAX_KERNEL_ADDRESS ((vaddr_t) 0xffffefff)
#ifndef __ASSEMBLER__
/* XXX max. amount of KVM to be used by buffers. */
Home |
Main Index |
Thread Index |
Old Index