Browse Source

cpuid_power.c: add CPU_SUBTYPE_POWERPC_7400 case

tags/v0.3.26
barracuda156 2 years ago
parent
commit
9dbc8129b3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cpuid_power.c

+ 1
- 0
cpuid_power.c View File

@@ -160,6 +160,7 @@ int detect(void){
infoCount = HOST_BASIC_INFO_COUNT;
host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&hostInfo, &infoCount);

if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_7400) return CPUTYPE_PPCG4;
if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_7450) return CPUTYPE_PPCG4;
if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_970) return CPUTYPE_PPC970;



Loading…
Cancel
Save