hwapi

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

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

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