summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-01-22 18:18:45 +0000
committerjhb <jhb@FreeBSD.org>2003-01-22 18:18:45 +0000
commit466b3593e83286af3e81f7c6d1c4292c8f1fb659 (patch)
tree2803ff4aae708322e5564dc6546d4825bbf974c5 /sys/i386/include
parentc0c74b0e194a0419f131b14ddb1f20a7a3e2bd0c (diff)
downloadFreeBSD-src-466b3593e83286af3e81f7c6d1c4292c8f1fb659.zip
FreeBSD-src-466b3593e83286af3e81f7c6d1c4292c8f1fb659.tar.gz
- Move enable_sse()'s prototype to machine/md_var.h.
- Sort definition of cpu_* variables appropriately. - Move cpu_fxsr out of the magic non-BSS set of variables and stick it in the BSS along with hw_instruction_sse (make the latter static as well). Submitted by: bde (partially)
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/md_var.h5
-rw-r--r--sys/i386/include/mptable.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
index 0f3922c..5f52c259 100644
--- a/sys/i386/include/md_var.h
+++ b/sys/i386/include/md_var.h
@@ -44,10 +44,10 @@ extern int (*copyin_vector)(const void *udaddr, void *kaddr, size_t len);
extern int (*copyout_vector)(const void *kaddr, void *udaddr, size_t len);
extern u_int cpu_exthigh;
extern u_int cpu_feature;
+extern u_int cpu_fxsr;
extern u_int cpu_high;
-extern u_int cpu_procinfo;
extern u_int cpu_id;
-extern u_int cpu_fxsr;
+extern u_int cpu_procinfo;
extern char cpu_vendor[];
extern u_int cyrix_did;
extern uint16_t *elan_mmcr;
@@ -86,6 +86,7 @@ void doreti_popl_es(void) __asm(__STRING(doreti_popl_es));
void doreti_popl_es_fault(void) __asm(__STRING(doreti_popl_es_fault));
void doreti_popl_fs(void) __asm(__STRING(doreti_popl_fs));
void doreti_popl_fs_fault(void) __asm(__STRING(doreti_popl_fs_fault));
+void enable_sse(void);
void fillw(int /*u_short*/ pat, void *base, size_t cnt);
void i486_bzero(void *buf, size_t len);
void i586_bcopy(const void *from, void *to, size_t len);
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index 599f182..39d10d6 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -2523,8 +2523,6 @@ smp_masked_invlpg_range(u_int mask, vm_offset_t addr1, vm_offset_t addr2)
* This is called once the rest of the system is up and running and we're
* ready to let the AP's out of the pen.
*/
-extern void enable_sse(void);
-
void
ap_init(void)
{
OpenPOWER on IntegriCloud