add cpu_set_init_frame to initialize init's syscall frame
[unix-history] / usr / src / sys / luna68k / include / cpu.h
index 239470f..94a0b8b 100644 (file)
@@ -13,7 +13,7 @@
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  * from: hp300/include/cpu.h   8.2 (Berkeley) 9/23/93
  *
  * from: Utah $Hdr: cpu.h 1.16 91/03/25$
  * from: hp300/include/cpu.h   8.2 (Berkeley) 9/23/93
  *
- *     @(#)cpu.h       8.3 (Berkeley) %G%
+ *     @(#)cpu.h       8.4 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
  */
 #define        COPY_SIGCODE            /* copy sigcode above user stack in exec */
 
  */
 #define        COPY_SIGCODE            /* copy sigcode above user stack in exec */
 
-#define        cpu_exec(p)     /* nothing */
-#define        cpu_wait(p)     /* nothing */
-#define cpu_setstack(p, ap) \
-       (p)->p_md.md_regs[SP] = ap
+#define        cpu_exec(p)                     /* nothing */
+#define        cpu_wait(p)                     /* nothing */
+#define cpu_setstack(p, ap)            (p)->p_md.md_regs[SP] = ap
+#define cpu_set_init_frame(p, fp)      (p)->p_md.md_regs = fp
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous
 
 /*
  * Arguments to hardclock and gatherstats encapsulate the previous