gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Enumerations | Functions | Variables
cpuid.cc File Reference
#include "arch/x86/cpuid.hh"
#include "base/bitfield.hh"
#include "cpu/thread_context.hh"

Go to the source code of this file.

Namespaces

 X86ISA
 This is exposed globally, independent of the ISA.
 

Enumerations

enum  X86ISA::StandardCpuidFunction { X86ISA::VendorAndLargestStdFunc, X86ISA::FamilyModelStepping, X86ISA::NumStandardCpuidFuncs }
 
enum  X86ISA::ExtendedCpuidFunctions {
  X86ISA::VendorAndLargestExtFunc, X86ISA::FamilyModelSteppingBrandFeatures, X86ISA::NameString1, X86ISA::NameString2,
  X86ISA::NameString3, X86ISA::L1CacheAndTLB, X86ISA::L2L3CacheAndL2TLB, X86ISA::APMInfo,
  X86ISA::LongModeAddressSize, X86ISA::NumExtendedCpuidFuncs
}
 

Functions

uint64_t X86ISA::stringToRegister (const char *str)
 
bool X86ISA::doCpuid (ThreadContext *tc, uint32_t function, uint32_t index, CpuidResult &result)
 

Variables

static const int X86ISA::vendorStringSize = 13
 
static const char X86ISA::vendorString [vendorStringSize] = "M5 Simulator"
 
static const int X86ISA::nameStringSize = 48
 
static const char X86ISA::nameString [nameStringSize] = "Fake M5 x86_64 CPU"
 

Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6