Skip to content

Commit 9dbc812

Browse files
committed
cpuid_power.c: add CPU_SUBTYPE_POWERPC_7400 case
1 parent c732f27 commit 9dbc812

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpuid_power.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ int detect(void){
160160
infoCount = HOST_BASIC_INFO_COUNT;
161161
host_info(mach_host_self(), HOST_BASIC_INFO, (host_info_t)&hostInfo, &infoCount);
162162

163+
if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_7400) return CPUTYPE_PPCG4;
163164
if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_7450) return CPUTYPE_PPCG4;
164165
if (hostInfo.cpu_subtype == CPU_SUBTYPE_POWERPC_970) return CPUTYPE_PPC970;
165166

0 commit comments

Comments
 (0)