Deleted Added
full compact
cpu.h (69003) cpu.h (69379)
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

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
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

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
37 * $FreeBSD: head/sys/i386/include/cpu.h 69003 2000-11-21 19:55:21Z markm $
37 * $FreeBSD: head/sys/i386/include/cpu.h 69379 2000-11-30 05:23:49Z marcel $
38 */
39
40#ifndef _MACHINE_CPU_H_
41#define _MACHINE_CPU_H_
42
43/*
44 * Definitions unique to i386 cpu support.
45 */

--- 7 unchanged lines hidden (view full) ---

53/*
54 * definitions of cpu-dependent requirements
55 * referenced in generic code
56 */
57#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */
58
59#define cpu_exec(p) /* nothing */
60#define cpu_swapin(p) /* nothing */
38 */
39
40#ifndef _MACHINE_CPU_H_
41#define _MACHINE_CPU_H_
42
43/*
44 * Definitions unique to i386 cpu support.
45 */

--- 7 unchanged lines hidden (view full) ---

53/*
54 * definitions of cpu-dependent requirements
55 * referenced in generic code
56 */
57#undef COPY_SIGCODE /* don't copy sigcode above user stack in exec */
58
59#define cpu_exec(p) /* nothing */
60#define cpu_swapin(p) /* nothing */
61#define cpu_setstack(p, ap) ((p)->p_md.md_regs[SP] = (ap))
61#define cpu_getstack(p) ((p)->p_md.md_regs->tf_esp)
62#define cpu_setstack(p, ap) ((p)->p_md.md_regs->tf_esp = (ap))
62
63#define CLKF_USERMODE(framep) \
64 ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM))
65
66#define CLKF_INTR(framep) (intr_nesting_level >= 2)
67#define CLKF_PC(framep) ((framep)->cf_eip)
68
69/*

--- 90 unchanged lines hidden ---
63
64#define CLKF_USERMODE(framep) \
65 ((ISPL((framep)->cf_cs) == SEL_UPL) || (framep->cf_eflags & PSL_VM))
66
67#define CLKF_INTR(framep) (intr_nesting_level >= 2)
68#define CLKF_PC(framep) ((framep)->cf_eip)
69
70/*

--- 90 unchanged lines hidden ---