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 Add Boot Page PTR Register de...



details:   https://anonhg.NetBSD.org/src/rev/2edc697eb02d
branches:  trunk
changeset: 765473:2edc697eb02d
user:      matt <matt%NetBSD.org@localhost>
date:      Sat May 28 05:23:08 2011 +0000

description:
Add Boot Page PTR Register definitions.

diffstat:

 sys/arch/powerpc/include/booke/e500reg.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 05a82062d3ce -r 2edc697eb02d sys/arch/powerpc/include/booke/e500reg.h
--- a/sys/arch/powerpc/include/booke/e500reg.h  Sat May 28 05:22:25 2011 +0000
+++ b/sys/arch/powerpc/include/booke/e500reg.h  Sat May 28 05:23:08 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500reg.h,v 1.6 2011/05/02 01:47:26 matt Exp $ */
+/*     $NetBSD: e500reg.h,v 1.7 2011/05/28 05:23:08 matt Exp $ */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -45,6 +45,9 @@
 #endif
 
 #define        GUR_SIZE                0x100000
+#define        GUR_BPTR                0x0020          /* Boot Page Translation */
+#define        BPTR_EN                 __PPCBIT(0)     /* Boot Page Enabled */
+#define        BPTR_BOOT_PAGE          __PPCBITS(8,31) /* high 24 bits of phys addr */
 
 #define        DDRC1_BASE              0x02000
 #define        DDRC2_BASE              0x06000



Home | Main Index | Thread Index | Old Index