Module Name:    src
Committed By:   skrll
Date:           Wed Feb 17 11:33:51 UTC 2010

Modified Files:
        src/sys/arch/hp700/include: cpu.h

Log Message:
Add some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/hp700/include/cpu.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/hp700/include/cpu.h
diff -u src/sys/arch/hp700/include/cpu.h:1.36 src/sys/arch/hp700/include/cpu.h:1.37
--- src/sys/arch/hp700/include/cpu.h:1.36	Wed Feb 17 11:21:24 2010
+++ src/sys/arch/hp700/include/cpu.h	Wed Feb 17 11:33:51 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.36 2010/02/17 11:21:24 skrll Exp $	*/
+/*	$NetBSD: cpu.h,v 1.37 2010/02/17 11:33:51 skrll Exp $	*/
 
 /*	$OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $	*/
 
@@ -153,16 +153,18 @@
  */
 #if defined(HP8000_CPU) || defined(HP8200_CPU) || \
     defined(HP8500_CPU) || defined(HP8600_CPU)
+/* PA2.0 aliases */
 #define	HPPA_PGALIAS	0x00400000
-#define	HPPA_PGAMASK	0xffc00000
+#define	HPPA_PGAMASK	0xffc00000	/* PA bits 0-9 not used in index */
 #define	HPPA_PGAOFF	0x003fffff
 #else
+/* PA1.x aliases */
 #define	HPPA_PGALIAS	0x00100000
-#define	HPPA_PGAMASK	0xfff00000
+#define	HPPA_PGAMASK	0xfff00000	/* PA bits 0-11 not used in index */
 #define	HPPA_PGAOFF	0x000fffff
 #endif
 
-#define	HPPA_SPAMASK	0xf0f0f000
+#define	HPPA_SPAMASK	0xf0f0f000	/* PA bits 0-3,8-11,16-19 not used */
 
 #define	HPPA_IOSPACE	0xf0000000
 #define	HPPA_IOLEN      0x10000000

Reply via email to