cpu.h (36e9f877dfd3d74af3d5a0faac2dc12671faf56a) | cpu.h (37b087a645354d60200c774d51b305b268e41c83) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 42 unchanged lines hidden (view full) --- 51 * definitions of cpu-dependent requirements 52 * referenced in generic code 53 */ 54#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */ 55 56#define cpu_exec(p) /* nothing */ 57#define cpu_swapin(p) /* nothing */ 58#define cpu_setstack(p, ap) ((p)->p_md.md_regs[SP] = (ap)) | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 42 unchanged lines hidden (view full) --- 51 * definitions of cpu-dependent requirements 52 * referenced in generic code 53 */ 54#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */ 55 56#define cpu_exec(p) /* nothing */ 57#define cpu_swapin(p) /* nothing */ 58#define cpu_setstack(p, ap) ((p)->p_md.md_regs[SP] = (ap)) |
59#define cpu_set_init_frame(p, fp) ((p)->p_md.md_regs = (fp)) | |
60 61#define CLKF_USERMODE(framep) \ 62 ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM)) 63 64#define CLKF_INTR(framep) (intr_nesting_level >= 2) 65#if 0 66/* 67 * XXX splsoftclock() is very broken and barely worth fixing. It doesn't --- 78 unchanged lines hidden --- | 59 60#define CLKF_USERMODE(framep) \ 61 ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM)) 62 63#define CLKF_INTR(framep) (intr_nesting_level >= 2) 64#if 0 65/* 66 * XXX splsoftclock() is very broken and barely worth fixing. It doesn't --- 78 unchanged lines hidden --- |