cpuid.cc (5659:f4b9c344d1ca) | cpuid.cc (6040:818914aeebc1) |
---|---|
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; --- 49 unchanged lines hidden (view full) --- 58 // Functions 11-24 are reserved 59 TLB1GBPageInfo = 25, 60 PerformanceInfo,*/ 61 62 NumExtendedCpuidFuncs 63 }; 64 65 static const int vendorStringSize = 13; | 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; --- 49 unchanged lines hidden (view full) --- 58 // Functions 11-24 are reserved 59 TLB1GBPageInfo = 25, 60 PerformanceInfo,*/ 61 62 NumExtendedCpuidFuncs 63 }; 64 65 static const int vendorStringSize = 13; |
66 static const char vendorString[vendorStringSize] = "AuthenticAMD"; | 66 static const char vendorString[vendorStringSize] = "M5 Simulator"; |
67 static const int nameStringSize = 48; 68 static const char nameString[nameStringSize] = "Fake M5 x86_64 CPU"; 69 70 uint64_t 71 stringToRegister(const char *str) 72 { 73 uint64_t reg = 0; 74 for (int pos = 3; pos >=0; pos--) { --- 86 unchanged lines hidden --- | 67 static const int nameStringSize = 48; 68 static const char nameString[nameStringSize] = "Fake M5 x86_64 CPU"; 69 70 uint64_t 71 stringToRegister(const char *str) 72 { 73 uint64_t reg = 0; 74 for (int pos = 3; pos >=0; pos--) { --- 86 unchanged lines hidden --- |