From 9a8aa2d0b1ef359d847a27881770fe762d0d4b44 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Sat, 11 Dec 1993 01:46:37 -0800 Subject: [PATCH] add cpu_set_init_frame to initialize init's syscall frame SCCS-vsn: sys/pmax/include/cpu.h 8.3 --- usr/src/sys/pmax/include/cpu.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/src/sys/pmax/include/cpu.h b/usr/src/sys/pmax/include/cpu.h index b9616143e7..7b8877cd76 100644 --- a/usr/src/sys/pmax/include/cpu.h +++ b/usr/src/sys/pmax/include/cpu.h @@ -7,7 +7,7 @@ * * %sccs.include.redist.c% * - * @(#)cpu.h 8.2 (Berkeley) %G% + * @(#)cpu.h 8.3 (Berkeley) %G% */ #ifndef _CPU_H_ @@ -25,10 +25,10 @@ */ #define COPY_SIGCODE /* copy sigcode above user stack in exec */ -#define cpu_exec(p) (p->p_md.md_ss_addr = 0) /* init single step */ -#define cpu_wait(p) /* nothing */ -#define cpu_setstack(p, ap) \ - (p)->p_md.md_regs[SP] = ap +#define cpu_exec(p) (p->p_md.md_ss_addr = 0) /* init single step */ +#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 -- 2.20.1