Specifications

Code Definitions
135
//****************************************************
// SMM_ENTRY
//****************************************************
typedef struct {
SMM_ATTRIBUTES SmmAttributes;
SMM_FUNCTION SmmFunction;
UINTx SmmPort;
UINTx SmmData;
} SMM_ENTRY;
SmmAttributes
Describes the access mechanism, SmmPort, and SmmData sizes. Type
SMM_ATTRIBUTES is defined below.
SmmFunction
Function Soft SMI is to perform. Type SMM_FUNCTION is defined below.
SmmPort
SmmPort
size depends upon SmmAttributes and ranges from 1 bytes to 8
bytes
SmmData
SmmData
size depends upon SmmAttributes and ranges from 1 bytes to 8
bytes
The SmmPort and SmmData are packed in order to present the
smallest footprint for the CSM16. Typically the user will set a pointer
to the SmmPort and then use a structure like the one below to
access the port and data.
typedef struct {
UINT8
SmmPort;
UINT8 SmmData;
} P8D8;
//****************************************************
// SMM_ATTRIBUTES
//****************************************************
typedef struct {