PERFORCE change 136410 for review

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


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

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

	Cooresponding reg numbers to be used in the context structure

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/pcb.h#5 edit

Differences ...

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

@@ -54,6 +54,24 @@
 	int	pcb_onfault;		/* for copyin/copyout faults */
 };
 
+/* these match the regnum's in regnum.h
+ * used by switch.S
+ */
+#define PCB_REG_S0   0
+#define PCB_REG_S1   1
+#define PCB_REG_S2   2
+#define PCB_REG_S3   3
+#define PCB_REG_S4   4
+#define PCB_REG_S5   5
+#define PCB_REG_S6   6
+#define PCB_REG_S7   7
+#define PCB_REG_SP   8
+#define PCB_REG_S8   9
+#define PCB_REG_RA   10
+#define PCB_REG_SR   11
+#define PCB_REG_GP   12
+
+
 #ifdef _KERNEL
 extern struct pcb *curpcb;		/* the current running pcb */
 


More information about the p4-projects mailing list