tee_device_address(3) Library Functions Manual tee_device_address(3)

tee_device_address

#include <metee.h>


enum { TEE_DEVICE_TYPE_NONE = 0, TEE_DEVICE_TYPE_PATH = 1, TEE_DEVICE_TYPE_HANDLE = 2, TEE_DEVICE_TYPE_GUID = 3, TEE_DEVICE_TYPE_BDF = 4, TEE_DEVICE_TYPE_MAX = 5 }


enum tee_device_address:: { ... } type
union {
const char * path
const GUID * guid
TEE_DEVICE_HANDLE handle
struct {
enum HECI_HW_TYPE { HECI_HW_TYPE_PCH, HECI_HW_TYPE_GFX_GSC, HECI_HW_TYPE_GFX_CSC }
struct {
uint32_t segment
uint32_t bus
uint32_t device
uint32_t function
} value
enum tee_device_address:: { ... } ::HECI_HW_TYPE hw_type
} bdf
} data

Device address passed to the init function

Definition at line 129 of file metee.h.

Device address type

Enumerator

Select first available device
Use device by path (char*)
Use device by pre-opend handle
Select first device by GUID (Windows only)
Use BDF to work with HECI, EFI only
upper sentinel

Definition at line 132 of file metee.h.

HECI device Segment

Definition at line 149 of file metee.h.

Device address

HECI device Bus

Definition at line 150 of file metee.h.

HECI device Device

Definition at line 151 of file metee.h.

< Path to device

Definition at line 144 of file metee.h.

Device GUID (Windows only) Pre-opend handle

Definition at line 145 of file metee.h.

Definition at line 143 of file metee.h.

Definition at line 148 of file metee.h.

Device address type

Generated automatically by Doxygen for metee from the source code.

metee