PERFORCE change 30821 for review

Juli Mallett jmallett at FreeBSD.org
Thu May 8 15:23:42 PDT 2003


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

Change 30821 by jmallett at jmallett_dalek on 2003/05/08 15:22:59

	Move mips_cp0_status_[read,write] to cpufunc.h and
	include that in locore.h.

Affected files ...

.. //depot/projects/mips/sys/mips/include/cpufunc.h#9 edit
.. //depot/projects/mips/sys/mips/include/locore.h#3 edit

Differences ...

==== //depot/projects/mips/sys/mips/include/cpufunc.h#9 (text+ko) ====

@@ -33,6 +33,11 @@
 #include <sys/types.h>
 #include <machine/cpuregs.h>
 
+uint32_t mips_cp0_cause_read(void);
+void mips_cp0_cause_write(uint32_t);
+uint32_t mips_cp0_status_read(void);
+void mips_cp0_status_write(uint32_t);
+
 static __inline register_t
 intr_disable(void)
 {

==== //depot/projects/mips/sys/mips/include/locore.h#3 (text+ko) ====

@@ -24,17 +24,13 @@
 #ifndef _MIPS_LOCORE_H
 #define  _MIPS_LOCORE_H
 
+#include <machine/cpufunc.h>
 #include <machine/cpuregs.h>
 #include <machine/frame.h>
 #include <machine/md_var.h>
 
 struct tlb;
 
-uint32_t mips_cp0_cause_read(void);
-void	mips_cp0_cause_write(uint32_t);
-uint32_t mips_cp0_status_read(void);
-void	mips_cp0_status_write(uint32_t);
-
 void	mips3_SetPID(int);
 void	mips3_TBIA(int);
 void	mips3_TBIAP(int);


More information about the p4-projects mailing list