Deleted Added
full compact
cpu.h (104551) cpu.h (107206)
1/* $FreeBSD: head/sys/ia64/include/cpu.h 104551 2002-10-06 05:25:10Z obrien $ */
1/* $FreeBSD: head/sys/ia64/include/cpu.h 107206 2002-11-24 20:15:08Z 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

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

131void regtoframe(struct reg *, struct trapframe *);
132void set_iointr(void (*)(void *, unsigned long));
133void fork_trampoline(void); /* MAGIC */
134void syscall(int, u_int64_t *, struct trapframe *);
135void trap(int vector, int imm, struct trapframe *framep);
136void ia64_probe_sapics(void);
137int ia64_count_cpus(void);
138void map_pal_code(void);
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

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

131void regtoframe(struct reg *, struct trapframe *);
132void set_iointr(void (*)(void *, unsigned long));
133void fork_trampoline(void); /* MAGIC */
134void syscall(int, u_int64_t *, struct trapframe *);
135void trap(int vector, int imm, struct trapframe *framep);
136void ia64_probe_sapics(void);
137int ia64_count_cpus(void);
138void map_pal_code(void);
139void map_port_space(void);
139void cpu_mp_add(uint, uint, uint);
140
141/*
142 * Return contents of in-cpu fast counter as a sort of "bogo-time"
143 * for non-critical timing.
144 */
145static __inline u_int64_t
146get_cyclecount(void)
147{
148 return (ia64_get_itc());
149}
150
151#endif /* _KERNEL */
152
153#endif /* _MACHINE_CPU_H_ */
140void cpu_mp_add(uint, uint, uint);
141
142/*
143 * Return contents of in-cpu fast counter as a sort of "bogo-time"
144 * for non-critical timing.
145 */
146static __inline u_int64_t
147get_cyclecount(void)
148{
149 return (ia64_get_itc());
150}
151
152#endif /* _KERNEL */
153
154#endif /* _MACHINE_CPU_H_ */