PERFORCE change 91823 for review

Kip Macy kmacy at FreeBSD.org
Wed Feb 15 11:30:02 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=91823

Change 91823 by kmacy at kmacy_storage:sun4v_work on 2006/02/15 19:29:01

	update scratchpad register names to reflect those used in the documentation

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/asi.h#4 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/asi.h#4 (text+ko) ====

@@ -115,18 +115,16 @@
 
 
 
-#define SCRATCH_REG_0                 0x00
-#define SCRATCH_REG_1                 0x08
-#define SCRATCH_REG_2                 0x10
-#define SCRATCH_REG_3                 0x18
-#define SCRATCH_REG_4                 0x20
-#define SCRATCH_REG_5                 0x28
-#define SCRATCH_REG_6                 0x30
-#define SCRATCH_REG_7                 0x38
+#define ASI_SCRATCHPAD_0_REG          0x00
+#define ASI_SCRATCHPAD_1_REG          0x08
+#define ASI_SCRATCHPAD_2_REG          0x10
+#define ASI_SCRATCHPAD_3_REG          0x18
+#define ASI_SCRATCHPAD_6_REG          0x30
+#define ASI_SCRATCHPAD_7_REG          0x38
 
-#define SCRATCH_REG_PCPU              SCRATCH_REG_0
-#define SCRATCH_REG_PCB               SCRATCH_REG_1
-#define SCRATCH_REG_PTD               SCRATCH_REG_2
+#define SCRATCH_REG_PCPU              ASI_SCRATCHPAD_0_REG
+#define SCRATCH_REG_PCB               ASI_SCRATCHPAD_1_REG
+#define SCRATCH_REG_PTD               ASI_SCRATCHPAD_2_REG
 
 #define MMU_CID_P                     0x08
 #define MMU_CID_S                     0x10


More information about the p4-projects mailing list