PERFORCE change 100747 for review

Wojciech A. Koszek wkoszek at FreeBSD.org
Thu Jul 6 13:26:33 UTC 2006


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

Change 100747 by wkoszek at wkoszek_laptop on 2006/07/06 13:25:59

	Make stub declarations for cpu_getstack(), and cpu_setstack(),
	because we don't have a tram frame structures yet.

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/cpu.h#3 edit

Differences ...

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

@@ -44,9 +44,18 @@
 
 #define	cpu_exec(p)	/* nothing */
 #define	cpu_swapin(p)	/* nothing */
+/*
+ * XXXMIPS: Change those once we'll bring header files from NetBSD.
+ */
+#if 0
 #define	cpu_getstack(td)		((td)->td_frame->tf_rsp)
 #define	cpu_setstack(td, ap)		((td)->td_frame->tf_rsp = (ap))
 #define	cpu_spinwait()			/* ia32_pause() */
+#endif
+#define cpu_getstack(td)		(0)
+#define cpu_setstack(td, ap)		(0)
+#define cpu_spinwait()
+
 
 #define	TRAPF_USERMODE(framep) \
 	(ISPL((framep)->tf_cs) == SEL_UPL)


More information about the p4-projects mailing list