SCCS-vsn: sys/kern/sys_process.c 7.15
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)sys_process.c 7.14 (Berkeley) %G%
+ * @(#)sys_process.c 7.15 (Berkeley) %G%
#define PHYSOFF(p, o) \
((physadr)(p)+((o)/sizeof(((physadr)0)->r[0])))
#define PHYSOFF(p, o) \
((physadr)(p)+((o)/sizeof(((physadr)0)->r[0])))
+#if defined(i386)
+#undef PC
+#undef SP
+#undef PS
+#undef R0
+#undef R1
+
+#define PC tEIP
+#define SP tESP
+#define PS tEFLAGS
+#define R0 tEDX
+#define R1 tECX
+#endif
/*
* Code that the child process
/*
* Code that the child process