Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2006 19:30:00 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 91823 for review
Message-ID:  <200602151930.k1FJU09V036737@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91823

Change 91823 by kmacy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602151930.k1FJU09V036737>