aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r--i386/i386at/model_dep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index f40a6169..491915da 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -549,6 +549,9 @@ void c_boot_entry(vm_offset_t bi)
machine_slot[0].is_cpu = TRUE;
machine_slot[0].cpu_subtype = CPU_SUBTYPE_AT386;
+#ifdef __x86_64__
+ machine_slot[0].cpu_type = CPU_TYPE_X86_64;
+#else
switch (cpu_type)
{
default:
@@ -567,6 +570,7 @@ void c_boot_entry(vm_offset_t bi)
machine_slot[0].cpu_type = CPU_TYPE_PENTIUMPRO;
break;
}
+#endif
/*
* Start the system.