Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/include MAXADDR used for PA == VA mapping sho...



details:   https://anonhg.NetBSD.org/src/rev/4cd752313c2d
branches:  trunk
changeset: 749876:4cd752313c2d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Dec 11 19:43:18 2009 +0000

description:
MAXADDR used for PA == VA mapping should be page size dependent.

diffstat:

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

diffs (18 lines):

diff -r 3be0dee16d42 -r 4cd752313c2d sys/arch/hp300/include/cpu.h
--- a/sys/arch/hp300/include/cpu.h      Fri Dec 11 19:36:05 2009 +0000
+++ b/sys/arch/hp300/include/cpu.h      Fri Dec 11 19:43:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.61 2009/10/21 21:11:59 rmind Exp $   */
+/*     $NetBSD: cpu.h,v 1.62 2009/12/11 19:43:18 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1982, 1990, 1993
@@ -215,7 +215,7 @@
 #define        INTIOTOP        (0x00600000)
 #define        EXTIOBASE       (0x00600000)
 #define        EXTIOTOP        (0x20000000)
-#define        MAXADDR         (0xFFFFF000)
+#define        MAXADDR         (0 - NBPG)
 
 /*
  * Internal IO space:



Home | Main Index | Thread Index | Old Index