1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 148 unchanged lines hidden (view full) --- 157 result = CpuidResult( 158 NumStandardCpuidFuncs - 1, 159 stringToRegister(vendorString), 160 stringToRegister(vendorString + 4), 161 stringToRegister(vendorString + 8)); 162 break; 163 case FamilyModelStepping: 164 result = CpuidResult(0x00020f51, 0x00000805, |
165 0xe7dbfbff, 0x00000209); |
166 break; 167 case ExtendedFeatures: 168 result = CpuidResult(0x00000000, 0x01800000, 169 0x00000000, 0x00000000); 170 break; 171 default: 172 warn("x86 cpuid family 0x0000: unimplemented function %u", 173 funcNum); 174 return false; 175 } 176 } else { 177 warn("x86 cpuid: unknown family %#x", family); 178 return false; 179 } 180 181 return true; 182 } 183} // namespace X86ISA |