cpuid.cc (10637:e9bc4cde5d8e) cpuid.cc (10638:5d119a460f15)
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;

--- 140 unchanged lines hidden (view full) ---

149 result = CpuidResult(
150 NumStandardCpuidFuncs - 1,
151 stringToRegister(vendorString),
152 stringToRegister(vendorString + 4),
153 stringToRegister(vendorString + 8));
154 break;
155 case FamilyModelStepping:
156 result = CpuidResult(0x00020f51, 0x00000805,
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;

--- 140 unchanged lines hidden (view full) ---

149 result = CpuidResult(
150 NumStandardCpuidFuncs - 1,
151 stringToRegister(vendorString),
152 stringToRegister(vendorString + 4),
153 stringToRegister(vendorString + 8));
154 break;
155 case FamilyModelStepping:
156 result = CpuidResult(0x00020f51, 0x00000805,
157 0xe7dbfbff, 0x00000001);
157 0xe7dbfbff, 0x04000209);
158 break;
159 default:
160 warn("x86 cpuid: unimplemented function %u", funcNum);
161 return false;
162 }
163 } else {
164 warn("x86 cpuid: unknown family %#x", family);
165 return false;
166 }
167
168 return true;
169 }
170} // namespace X86ISA
158 break;
159 default:
160 warn("x86 cpuid: unimplemented function %u", funcNum);
161 return false;
162 }
163 } else {
164 warn("x86 cpuid: unknown family %#x", family);
165 return false;
166 }
167
168 return true;
169 }
170} // namespace X86ISA