use OBOS_CPU_TYPES so compiling with R5 header is still possible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3503 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3c90558523
commit
be4ab5d842
@ -185,10 +185,12 @@ void NormalPulseView::DetermineVendorAndProcessor() {
|
|||||||
case B_CPU_INTEL_PENTIUM_III_MODEL_8:
|
case B_CPU_INTEL_PENTIUM_III_MODEL_8:
|
||||||
strcpy(processor, "Pentium III");
|
strcpy(processor, "Pentium III");
|
||||||
break;
|
break;
|
||||||
|
#ifdef OBOS_CPU_TYPES
|
||||||
case B_CPU_INTEL_PENTIUM_IV:
|
case B_CPU_INTEL_PENTIUM_IV:
|
||||||
case B_CPU_INTEL_PENTIUM_IV_MODEL2:
|
case B_CPU_INTEL_PENTIUM_IV_MODEL2:
|
||||||
strcpy(processor, "Pentium IV");
|
strcpy(processor, "Pentium IV");
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case B_CPU_AMD_K5_MODEL0:
|
case B_CPU_AMD_K5_MODEL0:
|
||||||
case B_CPU_AMD_K5_MODEL1:
|
case B_CPU_AMD_K5_MODEL1:
|
||||||
case B_CPU_AMD_K5_MODEL2:
|
case B_CPU_AMD_K5_MODEL2:
|
||||||
@ -203,10 +205,13 @@ void NormalPulseView::DetermineVendorAndProcessor() {
|
|||||||
strcpy(processor, "K6-2");
|
strcpy(processor, "K6-2");
|
||||||
break;
|
break;
|
||||||
case B_CPU_AMD_K6_III:
|
case B_CPU_AMD_K6_III:
|
||||||
|
#ifdef OBOS_CPU_TYPES
|
||||||
case B_CPU_AMD_K6_III_MODEL2:
|
case B_CPU_AMD_K6_III_MODEL2:
|
||||||
|
#endif
|
||||||
strcpy(processor, "K6-III");
|
strcpy(processor, "K6-III");
|
||||||
break;
|
break;
|
||||||
case B_CPU_AMD_ATHLON_MODEL1:
|
case B_CPU_AMD_ATHLON_MODEL1:
|
||||||
|
#ifdef OBOS_CPU_TYPES
|
||||||
case B_CPU_AMD_ATHLON_MODEL2:
|
case B_CPU_AMD_ATHLON_MODEL2:
|
||||||
case B_CPU_AMD_ATHLON_THUNDERBIRD:
|
case B_CPU_AMD_ATHLON_THUNDERBIRD:
|
||||||
strcpy(processor, "Athlon");
|
strcpy(processor, "Athlon");
|
||||||
@ -219,6 +224,7 @@ void NormalPulseView::DetermineVendorAndProcessor() {
|
|||||||
case B_CPU_AMD_DURON:
|
case B_CPU_AMD_DURON:
|
||||||
strcpy(processor, "Duron");
|
strcpy(processor, "Duron");
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case B_CPU_CYRIX_GXm:
|
case B_CPU_CYRIX_GXm:
|
||||||
strcpy(processor, "GXm");
|
strcpy(processor, "GXm");
|
||||||
break;
|
break;
|
||||||
@ -234,6 +240,11 @@ void NormalPulseView::DetermineVendorAndProcessor() {
|
|||||||
case B_CPU_RISE_mP6:
|
case B_CPU_RISE_mP6:
|
||||||
strcpy(processor, "mP6");
|
strcpy(processor, "mP6");
|
||||||
break;
|
break;
|
||||||
|
#ifdef OBOS_CPU_TYPES
|
||||||
|
case B_CPU_NATIONAL_GEODE_GX1:
|
||||||
|
strcpy(processor, "Geode GX1");
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
strcpy(processor, "Unknown");
|
strcpy(processor, "Unknown");
|
||||||
|
Loading…
Reference in New Issue
Block a user