Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 13:26:32 GMT
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 100747 for review
Message-ID:  <200607061326.k66DQWv6083928@repoman.freebsd.org>

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

Change 100747 by wkoszek@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)



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