MdeModulePkg[all]
0.98
|
Data Structures | |
struct | _ESRT_MANAGEMENT_PROTOCOL |
Macros | |
#define | ESRT_MANAGEMENT_PROTOCOL_GUID |
Typedefs | |
typedef struct _ESRT_MANAGEMENT_PROTOCOL | ESRT_MANAGEMENT_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | GET_ESRT_ENTRY )(IN EFI_GUID *FwClass, IN OUT EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
typedef EFI_STATUS(EFIAPI * | UPDATE_ESRT_ENTRY )(IN EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
typedef EFI_STATUS(EFIAPI * | UNREGISTER_ESRT_ENTRY )(IN EFI_GUID *FwClass) |
typedef EFI_STATUS(EFIAPI * | REGISTER_ESRT_ENTRY )(IN EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
typedef EFI_STATUS(EFIAPI * | SYNC_ESRT_FMP )(VOID) |
typedef EFI_STATUS(EFIAPI * | LOCK_ESRT_REPOSITORY )(VOID) |
Variables | |
EFI_GUID | gEsrtManagementProtocolGuid |
The Esrt Management Protocol used to register/set/update an updatable firmware resource .
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define ESRT_MANAGEMENT_PROTOCOL_GUID |
Global ID for the ESRT_MANAGEMENT_PROTOCOL.
typedef struct _ESRT_MANAGEMENT_PROTOCOL ESRT_MANAGEMENT_PROTOCOL |
Forward declaration for the _ESRT_MANAGEMENT_PROTOCOL.
typedef EFI_STATUS(EFIAPI * GET_ESRT_ENTRY)(IN EFI_GUID *FwClass, IN OUT EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
Get Variable name and data by Esrt Entry FwClass
[in] | FwClass | FwClass of Esrt entry to get |
in | out] Entry Esrt entry returned |
EFI_SUCCESS | The variable saving this Esrt Entry exists. |
EF_NOT_FOUND | No correct variable found. |
typedef EFI_STATUS(EFIAPI * LOCK_ESRT_REPOSITORY)(VOID) |
This function locks up Esrt repository to be readonly. It should be called before gEfiEndOfDxeEventGroupGuid event signaled
EFI_SUCCESS | Locks up FMP Non-FMP repository successfully |
typedef EFI_STATUS(EFIAPI * REGISTER_ESRT_ENTRY)(IN EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
Non-FMP instance to register one ESRT entry into ESRT Cache.
[in] | Entry | Esrt entry to be set |
EFI_SUCCESS | Successfully set a variable. |
EFI_INVALID_PARAMETER | ESRT Entry is already exist |
EFI_OUT_OF_RESOURCES | Non-FMP ESRT repository is full |
typedef EFI_STATUS(EFIAPI * SYNC_ESRT_FMP)(VOID) |
This function syn up Cached ESRT with data from FMP instances Function should be called after Connect All in order to locate all FMP protocols installed
EFI_SUCCESS | Successfully sync cache repository from FMP instances |
EFI_NOT_FOUND | No FMP Instance are found |
EFI_OUT_OF_RESOURCES | Resource allocaton fail |
typedef EFI_STATUS(EFIAPI * UNREGISTER_ESRT_ENTRY)(IN EFI_GUID *FwClass) |
Non-FMP instance to unregister Esrt Entry from ESRT Cache.
[in] | FwClass | FwClass of Esrt entry to Unregister |
EFI_SUCCESS | Insert all entries Successfully |
EFI_NOT_FOUND | FwClass does not exsit |
typedef EFI_STATUS(EFIAPI * UPDATE_ESRT_ENTRY)(IN EFI_SYSTEM_RESOURCE_ENTRY *Entry) |
Update one ESRT entry in ESRT Cache.
[in] | Entry | Esrt entry to be updated |
EFI_SUCCESS | Successfully update an ESRT entry in cache. |
EFI_INVALID_PARAMETER | Entry does't exist in ESRT Cache |
EFI_WRITE_PROTECTED | ESRT Cache repositoy is locked |
EFI_GUID gEsrtManagementProtocolGuid |