From 723a51568a2acbd572949bd69ac76d57cc0f051a Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 4 Aug 1997 19:49:09 +0000 Subject: Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG * i386/i386/locore.S (discover_x86_cpu_type): Comment out routine for now. * i386/i386at/model_dep.c (c_boot_entry): Comment out use of discover_x86_cpu_type for now. --- i386/i386at/model_dep.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'i386') diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index 3ef53a9..9caca30 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -357,9 +357,30 @@ void c_boot_entry(vm_offset_t bi) machine_slot[0].is_cpu = TRUE; machine_slot[0].running = TRUE; - machine_slot[0].cpu_type = CPU_TYPE_I386; machine_slot[0].cpu_subtype = CPU_SUBTYPE_AT386; +#if 0 + switch (discover_x86_cpu_type ()) + { + case 3: + default: + machine_slot[0].cpu_type = CPU_TYPE_I386; + break; + case 4: + machine_slot[0].cpu_type = CPU_TYPE_I486; + break; + case 5: + machine_slot[0].cpu_type = CPU_TYPE_PENTIUM; + break; + case 6: + machine_slot[0].cpu_type = CPU_TYPE_PENTIUMPRO; + break; + } +#else + machine_slot[0].cpu_type = CPU_TYPE_I386; +#endif + + /* * Start the system. */ -- cgit v1.2.3