hwapi

package
v2.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 7 Imported by: 2

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 added in v2.7.0

func CPUBlacklistTXTSupport(h hwapi.LowLevelHardwareInterfaces) bool

CPUBlacklistTXTSupport - Returns true if the CPU is blacklisted

func CPUWhitelistTXTSupport added in v2.7.0

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

func MockPCReadMemory(addr uint64) byte

MockPCReadMemory emulates a x86_64 platform memory map

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL