UefiCpuPkg[all]
0.90
|
Data Structures | |
struct | _EFI_SM_MONITOR_INIT_PROTOCOL |
Macros | |
#define | EFI_SM_MONITOR_INIT_PROTOCOL_GUID { 0x228f344d, 0xb3de, 0x43bb, 0xa4, 0xd7, 0xea, 0x20, 0xb, 0x1b, 0x14, 0x82} |
#define | EFI_SM_MONITOR_STATE_ENABLED 0x1 |
#define | EFI_SM_MONITOR_STATE_ACTIVATED 0x2 |
Typedefs | |
typedef IN UINTN | StmImageSize |
typedef IN UINT32 | NumEntries |
typedef IN OUT UINT32 * | ResourceSize |
typedef UINT32 | EFI_SM_MONITOR_STATE |
typedef struct _EFI_SM_MONITOR_INIT_PROTOCOL | EFI_SM_MONITOR_INIT_PROTOCOL |
Functions | |
typedef | EFI_STATUS (EFIAPI *EFI_SM_MONITOR_LOAD_MONITOR)(IN EFI_PHYSICAL_ADDRESS StmImage |
typedef | EFI_SM_MONITOR_STATE (EFIAPI *EFI_SM_MONITOR_GET_MONITOR_STATE)(VOID) |
Variables | |
EFI_GUID | gEfiSmMonitorInitProtocolGuid |
STM service protocol definition
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_SM_MONITOR_INIT_PROTOCOL_GUID { 0x228f344d, 0xb3de, 0x43bb, 0xa4, 0xd7, 0xea, 0x20, 0xb, 0x1b, 0x14, 0x82} |
#define EFI_SM_MONITOR_STATE_ACTIVATED 0x2 |
#define EFI_SM_MONITOR_STATE_ENABLED 0x1 |
typedef struct _EFI_SM_MONITOR_INIT_PROTOCOL EFI_SM_MONITOR_INIT_PROTOCOL |
typedef UINT32 EFI_SM_MONITOR_STATE |
typedef IN UINT32 NumEntries |
typedef IN OUT UINT32* ResourceSize |
typedef IN UINTN StmImageSize |
typedef EFI_SM_MONITOR_STATE | ( | EFIAPI * | EFI_SM_MONITOR_GET_MONITOR_STATE | ) |
Get STM state
typedef EFI_STATUS | ( | EFIAPI * | EFI_SM_MONITOR_GET_PI_RESOURCE | ) |
Load STM image to MSEG.
StmImage | STM image |
StmImageSize | STM image size |
EFI_SUCCESS | Load STM to MSEG successfully |
EFI_ALREADY_STARTED | STM image is already loaded to MSEG |
EFI_BUFFER_TOO_SMALL | MSEG is smaller than minimal requirement of STM image |
EFI_UNSUPPORTED | MSEG is not enabled |
Add resources in list to database.
ResourceList | A pointer to resource list to be added |
NumEntries | Optional number of entries. If 0, list must be terminated by END_OF_RESOURCES. |
EFI_SUCCESS | If resources are added |
EFI_INVALID_PARAMETER | If nested procedure detected resource failer |
EFI_OUT_OF_RESOURCES | If nested procedure returned it and we cannot allocate more areas. |
Delete resources in list to database.
ResourceList | A pointer to resource list to be deleted NULL means delete all resources. |
NumEntries | Optional number of entries. If 0, list must be terminated by END_OF_RESOURCES. |
EFI_SUCCESS | If resources are deleted |
EFI_INVALID_PARAMETER | If nested procedure detected resource failer |
Get BIOS resources.
ResourceList | A pointer to resource list to be filled |
ResourceSize | On input it means size of resource list input. On output it means size of resource list filled, or the size of resource list to be filled if size of too small. |
EFI_SUCCESS | If resources are returned. |
EFI_BUFFER_TOO_SMALL | If resource list buffer is too small to hold the whole resources. |
EFI_GUID gEfiSmMonitorInitProtocolGuid |