cpu.h (100783) | cpu.h (118990) |
---|---|
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 --- 21 unchanged lines hidden (view full) --- 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 * from: FreeBSD: src/sys/i386/include/cpu.h,v 1.62 2001/06/29 | 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 --- 21 unchanged lines hidden (view full) --- 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 * from: FreeBSD: src/sys/i386/include/cpu.h,v 1.62 2001/06/29 |
38 * $FreeBSD: head/sys/sparc64/include/cpu.h 100783 2002-07-28 01:01:14Z jake $ | 38 * $FreeBSD: head/sys/sparc64/include/cpu.h 118990 2003-08-16 16:57:57Z marcel $ |
39 */ 40 41#ifndef _MACHINE_CPU_H_ 42#define _MACHINE_CPU_H_ 43 44#include <machine/frame.h> 45#include <machine/tstate.h> 46 --- 25 unchanged lines hidden (view full) --- 72 { "wall_cmos_clock", CTLTYPE_INT }, \ 73} 74 75#ifdef _KERNEL 76 77extern char btext[]; 78extern char etext[]; 79 | 39 */ 40 41#ifndef _MACHINE_CPU_H_ 42#define _MACHINE_CPU_H_ 43 44#include <machine/frame.h> 45#include <machine/tstate.h> 46 --- 25 unchanged lines hidden (view full) --- 72 { "wall_cmos_clock", CTLTYPE_INT }, \ 73} 74 75#ifdef _KERNEL 76 77extern char btext[]; 78extern char etext[]; 79 |
80void cpu_halt(void); 81void cpu_reset(void); |
|
80void fork_trampoline(void); | 82void fork_trampoline(void); |
83void swi_vm(void *v); |
|
81 82static __inline u_int64_t 83get_cyclecount(void) 84{ 85 86 return (rd(tick)); 87} 88 89#endif 90 91#endif /* !_MACHINE_CPU_H_ */ | 84 85static __inline u_int64_t 86get_cyclecount(void) 87{ 88 89 return (rd(tick)); 90} 91 92#endif 93 94#endif /* !_MACHINE_CPU_H_ */ |