X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/7763037f6029390c15fdb73731e32b76ec5e8809..5ff7c8570ab09cdf05bd09944407e0996e2fe218:/usr/src/sys/i386/include/cpu.h diff --git a/usr/src/sys/i386/include/cpu.h b/usr/src/sys/i386/include/cpu.h index bcc3124e08..4a82b13662 100644 --- a/usr/src/sys/i386/include/cpu.h +++ b/usr/src/sys/i386/include/cpu.h @@ -7,7 +7,7 @@ * * %sccs.include.redist.c% * - * @(#)cpu.h 8.2 (Berkeley) %G% + * @(#)cpu.h 8.3 (Berkeley) %G% */ /* @@ -20,21 +20,11 @@ * definitions of cpu-dependent requirements * referenced in generic code */ -#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */ +#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */ -/* - * function vs. inline configuration; - * these are defined to get generic functions - * rather than inline or machine-dependent implementations - */ -#define NEED_MINMAX /* need {,i,l,ul}{min,max} functions */ -#define NEED_FFS /* need ffs function */ -#define NEED_BCMP /* need bcmp function */ -#define NEED_STRLEN /* need strlen function */ - -#define cpu_exec(p) /* nothing */ -#define cpu_setstack(p, ap) \ - (p)->p_md.md_regs[SP] = ap +#define cpu_exec(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, softclock and gatherstats