Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Added MMUv2 define.



details:   https://anonhg.NetBSD.org/src/rev/ff0aff524f7c
branches:  trunk
changeset: 335134:ff0aff524f7c
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Sat Dec 27 12:36:48 2014 +0000

description:
Added MMUv2 define.

diffstat:

 sys/arch/powerpc/include/booke/spr.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4815a9a796e4 -r ff0aff524f7c sys/arch/powerpc/include/booke/spr.h
--- a/sys/arch/powerpc/include/booke/spr.h      Sat Dec 27 04:20:38 2014 +0000
+++ b/sys/arch/powerpc/include/booke/spr.h      Sat Dec 27 12:36:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spr.h,v 1.12 2014/12/20 16:34:47 nonaka Exp $  */
+/*     $NetBSD: spr.h,v 1.13 2014/12/27 12:36:48 nonaka Exp $  */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -527,6 +527,7 @@
 #define          MMUCFG_NTLBS_GET(n)     (((n) >> 2) & 3) /* NTLBS is max value of MAS0[TLBSEL] */
 #define          MMUCFG_MAVN             0x00000003 /* MMU Architecture Version Number */
 #define          MMUCFG_MAVN_V1          0
+#define          MMUCFG_MAVN_V2          1
 #define        SPR_SVR                 1023    /* E... System Version Register */
 
 #define        PMR_PMC0                16



Home | Main Index | Thread Index | Old Index