Module Name:    src
Committed By:   matt
Date:           Sat May 28 05:23:08 UTC 2011

Modified Files:
        src/sys/arch/powerpc/include/booke: e500reg.h

Log Message:
Add Boot Page PTR Register definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/include/booke/e500reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/booke/e500reg.h
diff -u src/sys/arch/powerpc/include/booke/e500reg.h:1.6 src/sys/arch/powerpc/include/booke/e500reg.h:1.7
--- src/sys/arch/powerpc/include/booke/e500reg.h:1.6	Mon May  2 01:47:26 2011
+++ src/sys/arch/powerpc/include/booke/e500reg.h	Sat May 28 05:23:08 2011
@@ -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

Reply via email to