cpu.h (118414) | cpu.h (118607) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/cpu.h 118414 2003-08-04 05:13:18Z marcel $ */ | 1/* $FreeBSD: head/sys/ia64/include/cpu.h 118607 2003-08-07 15:04:27Z jhb $ */ |
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 --- 105 unchanged lines hidden (view full) --- 115void fork_trampoline(void); /* MAGIC */ 116int syscall(struct trapframe *); 117void trap(int vector, struct trapframe *framep); 118void ia64_probe_sapics(void); 119int ia64_count_cpus(void); 120void map_gateway_page(void); 121void map_pal_code(void); 122void map_port_space(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 --- 105 unchanged lines hidden (view full) --- 115void fork_trampoline(void); /* MAGIC */ 116int syscall(struct trapframe *); 117void trap(int vector, struct trapframe *framep); 118void ia64_probe_sapics(void); 119int ia64_count_cpus(void); 120void map_gateway_page(void); 121void map_pal_code(void); 122void map_port_space(void); |
123void cpu_mp_add(uint, uint, uint); | 123void cpu_mp_add(u_int, u_int, u_int); |
124 125/* 126 * Return contents of in-cpu fast counter as a sort of "bogo-time" 127 * for non-critical timing. 128 */ 129static __inline u_int64_t 130get_cyclecount(void) 131{ 132 return (ia64_get_itc()); 133} 134 135#endif /* _KERNEL */ 136 137#endif /* _MACHINE_CPU_H_ */ | 124 125/* 126 * Return contents of in-cpu fast counter as a sort of "bogo-time" 127 * for non-critical timing. 128 */ 129static __inline u_int64_t 130get_cyclecount(void) 131{ 132 return (ia64_get_itc()); 133} 134 135#endif /* _KERNEL */ 136 137#endif /* _MACHINE_CPU_H_ */ |