PERFORCE change 136409 for review

Randall R. Stewart rrs at FreeBSD.org
Fri Feb 29 19:47:41 UTC 2008


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

Change 136409 by rrs at rrs-mips2-jnpr on 2008/02/28 09:27:27

	Reg numbers for the kernel stack (we do not want numbers please)

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/regnum.h#6 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/include/regnum.h#6 (text+ko) ====

@@ -46,6 +46,26 @@
 #define	STAND_FRAME_SIZE	24
 #define	STAND_RA_OFFSET		20
 
+/* This must match the numbers
+ * in pcb.h and is used by
+ * swtch.S
+ */
+#define PREG_S0   0
+#define PREG_S1   1
+#define PREG_S2   2
+#define PREG_S3   3
+#define PREG_S4   4
+#define PREG_S5   5
+#define PREG_S6   6
+#define PREG_S7   7
+#define PREG_SP   8
+#define PREG_S8   9
+#define PREG_RA   10
+#define PREG_SR   11
+#define PREG_GP   12
+
+
+
 /*
  * Location of the saved registers relative to ZERO.
  * This must match struct trapframe defined in frame.h exactly.


More information about the p4-projects mailing list