diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-08-04 19:49:09 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-08-04 19:49:09 +0000 |
commit | 723a51568a2acbd572949bd69ac76d57cc0f051a (patch) | |
tree | 823a7b36dd169f3b90fe5681c15d8229c4fc7aa8 /i386 | |
parent | 68ac5af4b7070bf7d551ae72fe32f7d5b5216e7e (diff) |
Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* 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.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/model_dep.c | 23 |
1 files changed, 22 insertions, 1 deletions
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. */ |