summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-23 22:35:15 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-23 22:35:15 +0200
commit2a0f24569247734c89cc4d1997366f3ee9d0e7cb (patch)
treea06faceea3ddb7b80ab6f5348cc910899df96d1a /i386/i386at
parent7a15847bcca5c7b384556226130330cd33903c12 (diff)
Warn on unknown CPU family
* i386/i386at/model_dep.c (c_boot_entry): Warn in the default case for cpu_type.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/model_dep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index f915db1..dcf506d 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -575,8 +575,9 @@ void c_boot_entry(vm_offset_t bi)
switch (cpu_type)
{
- case 3:
default:
+ printf("warning: unknown cpu type %d, assuming i386\n", cpu_type);
+ case 3:
machine_slot[0].cpu_type = CPU_TYPE_I386;
break;
case 4: