Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //TXTSupportedCPUs is a whitelist of TXT enabled CPUs TXTSupportedCPUs = []brandNameMetaWl{}/* 774 elements not displayed */ )
View Source
var ( //TXTUnSupportedCPUs is a lookup table for CPUs not supporting TXT TXTUnSupportedCPUs = []brandNameMetaBl{}/* 1001 elements not displayed */ )
Functions ¶
func CPUBlacklistTXTSupport ¶
func CPUBlacklistTXTSupport(h hwapi.LowLevelHardwareInterfaces) bool
CPUBlacklistTXTSupport - Returns true if the CPU is blacklisted
func CPUWhitelistTXTSupport ¶
func CPUWhitelistTXTSupport(h hwapi.LowLevelHardwareInterfaces) bool
CPUWhitelistTXTSupport returns true if the CPU is whitelisted
func GetPcMock ¶
func GetPcMock(ReadMemoryFunc func(uint64) byte) hwapi.LowLevelHardwareInterfaces
GetPcMock returns APIInterfaces for mocking the hwapi used in unittests
func MockPCReadMemory ¶
MockPCReadMemory emulates a x86_64 platform memory map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.