EHS
ehs::CPU Class Reference

#include <CPU.h>

Static Public Member Functions

static Architecture GetArchitecture ()
 
static UInt_8 PointerSize ()
 
static Endianness GetEndianness ()
 
static void RDTSCP (TSC *tsc)
 
static UInt_64 GetTSC_Freq ()
 
static UInt_64 GetTSC ()
 
static void GetManufacturer (Char_8 *input)
 
static UInt_32 GetInfoBits ()
 
static UInt_8 GetSteppingId ()
 
static UInt_8 GetModelId ()
 
static UInt_8 GetFamilyId ()
 
static UInt_8 GetProcessorTypeId ()
 
static UInt_8 GetExtModelId ()
 
static UInt_8 GetExtFamilyId ()
 
static UInt_32 GetFeatureBits_1 ()
 
static bool HasFPU ()
 
static bool HasVME ()
 
static bool HasDE ()
 
static bool HasPSE ()
 
static bool HasTSC ()
 
static bool HasMSR ()
 
static bool HasPAE ()
 
static bool HasMCE ()
 
static bool HasCX8 ()
 
static bool HasAPIC ()
 
static bool HasSEP ()
 
static bool HasMTRR ()
 
static bool HasPGE ()
 
static bool HasMCA ()
 
static bool HasCMOV ()
 
static bool HasPAT ()
 
static bool HasPSE_36 ()
 
static bool HasPSN ()
 
static bool HasCLFSH ()
 
static bool HasDS ()
 
static bool HasACPI ()
 
static bool HasMMX ()
 
static bool HasFXSR ()
 
static bool HasSSE ()
 
static bool HasSSE2 ()
 
static bool HasSS ()
 
static bool HasHTT ()
 
static bool HasTM ()
 
static bool HasIA64 ()
 
static bool HasPBE ()
 
static UInt_32 GetFeatureBits_2 ()
 
static bool HasSSE3 ()
 
static bool HasPCLMULQDQ ()
 
static bool HasDTES64 ()
 
static bool HasMONITOR ()
 
static bool HasDS_CPL ()
 
static bool HasVMX ()
 
static bool HasSMX ()
 
static bool HasEST ()
 
static bool HasTM2 ()
 
static bool HasSSSE3 ()
 
static bool HasCNXT_ID ()
 
static bool HasSDBG ()
 
static bool HasFMA ()
 
static bool HasCX16 ()
 
static bool HasXTPR ()
 
static bool HasPDCM ()
 
static bool HasPCID ()
 
static bool HasDCA ()
 
static bool HasSSE4_1 ()
 
static bool HasSSE4_2 ()
 
static bool HasX2APIC ()
 
static bool HasMOVBE ()
 
static bool HasPOPCNT ()
 
static bool HasTSC_DEADLINE ()
 
static bool HasAES ()
 
static bool HasXSAVE ()
 
static bool HasOSXSAVE ()
 
static bool HasAVX ()
 
static bool HasF16C ()
 
static bool HasRDRND ()
 
static bool HasHYPERVISOR ()
 
static UInt_32 GetExtFeatureBits_1 ()
 
static bool HasAVX2 ()
 
static bool HasRDSEED ()
 
static bool HasADX ()
 
static UInt_32 GetExtFeatureBits_2 ()
 
static UInt_32 GetExtFeatureBits_3 ()
 
static void GetBrand (Char_8 *input)
 
static UInt_8 GetCacheLineSize ()
 

Member Function Documentation

◆ GetArchitecture()

Architecture ehs::CPU::GetArchitecture ( )
static

◆ GetBrand()

void ehs::CPU::GetBrand ( Char_8 input)
static

Retrieves the CPU brand as a null-terminated ASCII string.

Parameters
[out]inputA 48 byte character array representing the brand.

◆ GetCacheLineSize()

UInt_8 ehs::CPU::GetCacheLineSize ( )
static

◆ GetEndianness()

Endianness ehs::CPU::GetEndianness ( )
static

◆ GetExtFamilyId()

UInt_8 ehs::CPU::GetExtFamilyId ( )
static

◆ GetExtFeatureBits_1()

UInt_32 ehs::CPU::GetExtFeatureBits_1 ( )
static

◆ GetExtFeatureBits_2()

UInt_32 ehs::CPU::GetExtFeatureBits_2 ( )
static

◆ GetExtFeatureBits_3()

UInt_32 ehs::CPU::GetExtFeatureBits_3 ( )
static

◆ GetExtModelId()

UInt_8 ehs::CPU::GetExtModelId ( )
static

◆ GetFamilyId()

UInt_8 ehs::CPU::GetFamilyId ( )
static

◆ GetFeatureBits_1()

UInt_32 ehs::CPU::GetFeatureBits_1 ( )
static

◆ GetFeatureBits_2()

UInt_32 ehs::CPU::GetFeatureBits_2 ( )
static

◆ GetInfoBits()

UInt_32 ehs::CPU::GetInfoBits ( )
static

◆ GetManufacturer()

void ehs::CPU::GetManufacturer ( Char_8 input)
static

Retrieves the CPU manufacturer id as a non null-terminated ASCII string.

Parameters
[out]inputA twelve byte character array representing the manufacturer id.

◆ GetModelId()

UInt_8 ehs::CPU::GetModelId ( )
static

◆ GetProcessorTypeId()

UInt_8 ehs::CPU::GetProcessorTypeId ( )
static

◆ GetSteppingId()

UInt_8 ehs::CPU::GetSteppingId ( )
static

◆ GetTSC()

UInt_64 ehs::CPU::GetTSC ( )
static

◆ GetTSC_Freq()

UInt_64 ehs::CPU::GetTSC_Freq ( )
static

◆ HasACPI()

bool ehs::CPU::HasACPI ( )
static

◆ HasADX()

bool ehs::CPU::HasADX ( )
static

◆ HasAES()

bool ehs::CPU::HasAES ( )
static

◆ HasAPIC()

bool ehs::CPU::HasAPIC ( )
static

◆ HasAVX()

bool ehs::CPU::HasAVX ( )
static

◆ HasAVX2()

bool ehs::CPU::HasAVX2 ( )
static

◆ HasCLFSH()

bool ehs::CPU::HasCLFSH ( )
static

◆ HasCMOV()

bool ehs::CPU::HasCMOV ( )
static

◆ HasCNXT_ID()

bool ehs::CPU::HasCNXT_ID ( )
static

◆ HasCX16()

bool ehs::CPU::HasCX16 ( )
static

◆ HasCX8()

bool ehs::CPU::HasCX8 ( )
static

◆ HasDCA()

bool ehs::CPU::HasDCA ( )
static

◆ HasDE()

bool ehs::CPU::HasDE ( )
static

◆ HasDS()

bool ehs::CPU::HasDS ( )
static

◆ HasDS_CPL()

bool ehs::CPU::HasDS_CPL ( )
static

◆ HasDTES64()

bool ehs::CPU::HasDTES64 ( )
static

◆ HasEST()

bool ehs::CPU::HasEST ( )
static

◆ HasF16C()

bool ehs::CPU::HasF16C ( )
static

◆ HasFMA()

bool ehs::CPU::HasFMA ( )
static

◆ HasFPU()

bool ehs::CPU::HasFPU ( )
static

◆ HasFXSR()

bool ehs::CPU::HasFXSR ( )
static

◆ HasHTT()

bool ehs::CPU::HasHTT ( )
static

◆ HasHYPERVISOR()

bool ehs::CPU::HasHYPERVISOR ( )
static

◆ HasIA64()

bool ehs::CPU::HasIA64 ( )
static

◆ HasMCA()

bool ehs::CPU::HasMCA ( )
static

◆ HasMCE()

bool ehs::CPU::HasMCE ( )
static

◆ HasMMX()

bool ehs::CPU::HasMMX ( )
static

◆ HasMONITOR()

bool ehs::CPU::HasMONITOR ( )
static

◆ HasMOVBE()

bool ehs::CPU::HasMOVBE ( )
static

◆ HasMSR()

bool ehs::CPU::HasMSR ( )
static

◆ HasMTRR()

bool ehs::CPU::HasMTRR ( )
static

◆ HasOSXSAVE()

bool ehs::CPU::HasOSXSAVE ( )
static

◆ HasPAE()

bool ehs::CPU::HasPAE ( )
static

◆ HasPAT()

bool ehs::CPU::HasPAT ( )
static

◆ HasPBE()

bool ehs::CPU::HasPBE ( )
static

◆ HasPCID()

bool ehs::CPU::HasPCID ( )
static

◆ HasPCLMULQDQ()

bool ehs::CPU::HasPCLMULQDQ ( )
static

◆ HasPDCM()

bool ehs::CPU::HasPDCM ( )
static

◆ HasPGE()

bool ehs::CPU::HasPGE ( )
static

◆ HasPOPCNT()

bool ehs::CPU::HasPOPCNT ( )
static

◆ HasPSE()

bool ehs::CPU::HasPSE ( )
static

◆ HasPSE_36()

bool ehs::CPU::HasPSE_36 ( )
static

◆ HasPSN()

bool ehs::CPU::HasPSN ( )
static

◆ HasRDRND()

bool ehs::CPU::HasRDRND ( )
static

◆ HasRDSEED()

bool ehs::CPU::HasRDSEED ( )
static

◆ HasSDBG()

bool ehs::CPU::HasSDBG ( )
static

◆ HasSEP()

bool ehs::CPU::HasSEP ( )
static

◆ HasSMX()

bool ehs::CPU::HasSMX ( )
static

◆ HasSS()

bool ehs::CPU::HasSS ( )
static

◆ HasSSE()

bool ehs::CPU::HasSSE ( )
static

◆ HasSSE2()

bool ehs::CPU::HasSSE2 ( )
static

◆ HasSSE3()

bool ehs::CPU::HasSSE3 ( )
static

◆ HasSSE4_1()

bool ehs::CPU::HasSSE4_1 ( )
static

◆ HasSSE4_2()

bool ehs::CPU::HasSSE4_2 ( )
static

◆ HasSSSE3()

bool ehs::CPU::HasSSSE3 ( )
static

◆ HasTM()

bool ehs::CPU::HasTM ( )
static

◆ HasTM2()

bool ehs::CPU::HasTM2 ( )
static

◆ HasTSC()

bool ehs::CPU::HasTSC ( )
static

◆ HasTSC_DEADLINE()

bool ehs::CPU::HasTSC_DEADLINE ( )
static

◆ HasVME()

bool ehs::CPU::HasVME ( )
static

◆ HasVMX()

bool ehs::CPU::HasVMX ( )
static

◆ HasX2APIC()

bool ehs::CPU::HasX2APIC ( )
static

◆ HasXSAVE()

bool ehs::CPU::HasXSAVE ( )
static

◆ HasXTPR()

bool ehs::CPU::HasXTPR ( )
static

◆ PointerSize()

UInt_8 ehs::CPU::PointerSize ( )
static

◆ RDTSCP()

void ehs::CPU::RDTSCP ( TSC tsc)
static

The documentation for this class was generated from the following files: