cpu_machdep.c (234723) | cpu_machdep.c (235622) |
---|---|
1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 24 unchanged lines hidden (view full) --- 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 38 */ 39 40#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 24 unchanged lines hidden (view full) --- 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 38 */ 39 40#include <sys/cdefs.h> |
41__FBSDID("$FreeBSD: head/sys/i386/i386/machdep.c 234723 2012-04-26 20:24:25Z attilio $"); | 41__FBSDID("$FreeBSD: head/sys/i386/i386/machdep.c 235622 2012-05-18 18:55:58Z iwasaki $"); |
42 43#include "opt_apic.h" 44#include "opt_atalk.h" 45#include "opt_atpic.h" 46#include "opt_compat.h" 47#include "opt_cpu.h" 48#include "opt_ddb.h" 49#include "opt_inet.h" --- 125 unchanged lines hidden (view full) --- 175CTASSERT(offsetof(struct pcpu, pc_curthread) == 0); 176 177extern void init386(int first); 178extern void dblfault_handler(void); 179 180extern void printcpuinfo(void); /* XXX header file */ 181extern void finishidentcpu(void); 182extern void panicifcpuunsupported(void); | 42 43#include "opt_apic.h" 44#include "opt_atalk.h" 45#include "opt_atpic.h" 46#include "opt_compat.h" 47#include "opt_cpu.h" 48#include "opt_ddb.h" 49#include "opt_inet.h" --- 125 unchanged lines hidden (view full) --- 175CTASSERT(offsetof(struct pcpu, pc_curthread) == 0); 176 177extern void init386(int first); 178extern void dblfault_handler(void); 179 180extern void printcpuinfo(void); /* XXX header file */ 181extern void finishidentcpu(void); 182extern void panicifcpuunsupported(void); |
183extern void initializecpu(void); | |
184 185#define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) 186#define EFL_SECURE(ef, oef) ((((ef) ^ (oef)) & ~PSL_USERCHANGE) == 0) 187 188#if !defined(CPU_DISABLE_SSE) && defined(I686_CPU) 189#define CPU_ENABLE_SSE 190#endif 191 --- 3544 unchanged lines hidden --- | 183 184#define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) 185#define EFL_SECURE(ef, oef) ((((ef) ^ (oef)) & ~PSL_USERCHANGE) == 0) 186 187#if !defined(CPU_DISABLE_SSE) && defined(I686_CPU) 188#define CPU_ENABLE_SSE 189#endif 190 --- 3544 unchanged lines hidden --- |