cpu.h (110368) | 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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 | 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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $FreeBSD: head/sys/i386/include/cpu.h 110368 2003-02-05 08:55:10Z phk $ | 37 * $FreeBSD: head/sys/i386/include/cpu.h 118990 2003-08-16 16:57:57Z marcel $ |
38 */ 39 40#ifndef _MACHINE_CPU_H_ 41#define _MACHINE_CPU_H_ 42 43/* 44 * Definitions unique to i386 cpu support. 45 */ --- 39 unchanged lines hidden (view full) --- 85 { "wall_cmos_clock", CTLTYPE_INT }, \ 86} 87 88#ifdef _KERNEL 89extern char btext[]; 90extern char etext[]; 91extern u_int tsc_present; 92 | 38 */ 39 40#ifndef _MACHINE_CPU_H_ 41#define _MACHINE_CPU_H_ 42 43/* 44 * Definitions unique to i386 cpu support. 45 */ --- 39 unchanged lines hidden (view full) --- 85 { "wall_cmos_clock", CTLTYPE_INT }, \ 86} 87 88#ifdef _KERNEL 89extern char btext[]; 90extern char etext[]; 91extern u_int tsc_present; 92 |
93void cpu_halt(void); 94void cpu_reset(void); |
|
93void fork_trampoline(void); | 95void fork_trampoline(void); |
96void swi_vm(void *); |
|
94 95/* 96 * Return contents of in-cpu fast counter as a sort of "bogo-time" 97 * for random-harvesting purposes. 98 */ 99static __inline u_int64_t 100get_cyclecount(void) 101{ --- 14 unchanged lines hidden --- | 97 98/* 99 * Return contents of in-cpu fast counter as a sort of "bogo-time" 100 * for random-harvesting purposes. 101 */ 102static __inline u_int64_t 103get_cyclecount(void) 104{ --- 14 unchanged lines hidden --- |