cpu.h (72892) | cpu.h (72906) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/cpu.h 72892 2001-02-22 15:35:04Z jhb $ */ | 1/* $FreeBSD: head/sys/ia64/include/cpu.h 72906 2001-02-22 16:56:53Z 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 --- 136 unchanged lines hidden (view full) --- 146u_int64_t hwrpb_checksum __P((void)); 147void hwrpb_restart_setup __P((void)); 148void regdump __P((struct trapframe *)); 149void regtoframe __P((struct reg *, struct trapframe *)); 150int savectx __P((struct pcb *)); 151void restorectx __P((struct pcb *)); 152void set_iointr __P((void (*)(void *, unsigned long))); 153void switch_exit __P((struct proc *)); /* MAGIC */ | 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 --- 136 unchanged lines hidden (view full) --- 146u_int64_t hwrpb_checksum __P((void)); 147void hwrpb_restart_setup __P((void)); 148void regdump __P((struct trapframe *)); 149void regtoframe __P((struct reg *, struct trapframe *)); 150int savectx __P((struct pcb *)); 151void restorectx __P((struct pcb *)); 152void set_iointr __P((void (*)(void *, unsigned long))); 153void switch_exit __P((struct proc *)); /* MAGIC */ |
154void switch_trampoline __P((void)); /* MAGIC */ | 154void fork_trampoline __P((void)); /* MAGIC */ |
155void syscall __P((int, u_int64_t *, struct trapframe *)); 156void trap __P((int vector, int imm, struct trapframe *framep)); 157 158/* 159 * Return contents of in-cpu fast counter as a sort of "bogo-time" 160 * for non-critical timing. 161 */ 162static __inline u_int64_t 163get_cyclecount(void) 164{ 165 return (ia64_get_itc()); 166} 167 168#endif /* _KERNEL */ 169 170#endif /* _MACHINE_CPU_H_ */ | 155void syscall __P((int, u_int64_t *, struct trapframe *)); 156void trap __P((int vector, int imm, struct trapframe *framep)); 157 158/* 159 * Return contents of in-cpu fast counter as a sort of "bogo-time" 160 * for non-critical timing. 161 */ 162static __inline u_int64_t 163get_cyclecount(void) 164{ 165 return (ia64_get_itc()); 166} 167 168#endif /* _KERNEL */ 169 170#endif /* _MACHINE_CPU_H_ */ |