Deleted Added
full compact
cpu.h (133084) cpu.h (134287)
1/* $FreeBSD: head/sys/ia64/include/cpu.h 133084 2004-08-03 18:44:27Z mux $ */
1/* $FreeBSD: head/sys/ia64/include/cpu.h 134287 2004-08-25 07:42:34Z marcel $ */
2/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
3
4/*
5 * Copyright (c) 1988 University of Utah.
6 * Copyright (c) 1982, 1990, 1993
7 * The Regents of the University of California. All rights reserved.
8 *
9 * This code is derived from software contributed to Berkeley by

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

73 { "console_device", CTLTYPE_STRUCT }, \
74 { "adjkerntz", CTLTYPE_INT }, \
75 { "disable_rtc_set", CTLTYPE_INT }, \
76 { "wall_cmos_clock", CTLTYPE_INT }, \
77}
78
79#ifdef _KERNEL
80
2/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
3
4/*
5 * Copyright (c) 1988 University of Utah.
6 * Copyright (c) 1982, 1990, 1993
7 * The Regents of the University of California. All rights reserved.
8 *
9 * This code is derived from software contributed to Berkeley by

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

73 { "console_device", CTLTYPE_STRUCT }, \
74 { "adjkerntz", CTLTYPE_INT }, \
75 { "disable_rtc_set", CTLTYPE_INT }, \
76 { "wall_cmos_clock", CTLTYPE_INT }, \
77}
78
79#ifdef _KERNEL
80
81#ifdef GPROF
82extern char btext[];
83extern char etext[];
84#endif
85
81/*
82 * Return contents of in-cpu fast counter as a sort of "bogo-time"
83 * for non-critical timing.
84 */
85#define get_cyclecount ia64_get_itc
86
87/* Used by signaling code. */
88#define cpu_getstack(td) ((td)->td_frame->tf_special.sp)
89#define cpu_spinwait() /* nothing */
90
91void cpu_halt(void);
92void cpu_reset(void);
93void fork_trampoline(void); /* MAGIC */
94void swi_vm(void *);
95
96#endif /* _KERNEL */
97
98#endif /* _MACHINE_CPU_H_ */
86/*
87 * Return contents of in-cpu fast counter as a sort of "bogo-time"
88 * for non-critical timing.
89 */
90#define get_cyclecount ia64_get_itc
91
92/* Used by signaling code. */
93#define cpu_getstack(td) ((td)->td_frame->tf_special.sp)
94#define cpu_spinwait() /* nothing */
95
96void cpu_halt(void);
97void cpu_reset(void);
98void fork_trampoline(void); /* MAGIC */
99void swi_vm(void *);
100
101#endif /* _KERNEL */
102
103#endif /* _MACHINE_CPU_H_ */