summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2015-04-01 19:45:22 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2015-04-01 19:45:22 +0000
commit4ec85bc20d722e9c78a3e5119e1d57036f9e22e7 (patch)
treef62a2f9d203e392a9d6fd74703813f5598817943 /sys/arch/i386
parent3400047b6331686f7dfafe0457914598bd331343 (diff)
Add cpu_pae variable (which will be later used to determine if PAE mode is
in use) now so that libkvm can be fixed before the rest of the bulk of PAE support is committed. requested by and ok deraadt@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/locore.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index bb9e03249c4..e69414763e3 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.150 2015/02/11 00:16:07 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.151 2015/04/01 19:45:21 mlarkin Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -176,6 +176,7 @@
.globl _C_LABEL(cpu_perf_edx)
.globl _C_LABEL(cpu_apmi_edx)
.globl _C_LABEL(cold), _C_LABEL(cnvmem), _C_LABEL(extmem)
+ .globl _C_LABEL(cpu_pae)
.globl _C_LABEL(esym)
.globl _C_LABEL(boothowto), _C_LABEL(bootdev), _C_LABEL(atdevbase)
.globl _C_LABEL(proc0paddr), _C_LABEL(PTDpaddr), _C_LABEL(PTDsize)
@@ -204,6 +205,7 @@ _C_LABEL(lapic_tpr):
_C_LABEL(cpu): .long 0 # are we 386, 386sx, 486, 586 or 686
_C_LABEL(cpu_id): .long 0 # saved from 'cpuid' instruction
+_C_LABEL(cpu_pae): .long 0 # are we using PAE paging mode?
_C_LABEL(cpu_miscinfo): .long 0 # misc info (apic/brand id) from 'cpuid'
_C_LABEL(cpu_feature): .long 0 # feature flags from 'cpuid' instruction
_C_LABEL(ecpu_feature): .long 0 # extended feature flags from 'cpuid'