TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Protocol/FirmwareManagement.h>
#include <Guid/FmpCapsule.h>
#include <Library/CapsuleLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS | RecordCapsuleStatusVariable (IN EFI_CAPSULE_HEADER *CapsuleHeader, IN EFI_STATUS CapsuleStatus) |
EFI_STATUS | RecordFmpCapsuleStatusVariable (IN EFI_CAPSULE_HEADER *CapsuleHeader, IN EFI_STATUS CapsuleStatus, IN UINTN PayloadIndex, IN EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER *ImageHeader, IN EFI_DEVICE_PATH_PROTOCOL *FmpDevicePath OPTIONAL, IN CHAR16 *CapFileName OPTIONAL) |
VOID | InitCapsuleVariable (VOID) |
DXE capsule report related function. Dummy function for runtime module, because CapsuleDxeRuntime does not need record capsule status variable.
Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeCapsuleReportLibNull.c.
VOID InitCapsuleVariable | ( | VOID | ) |
Initialize capsule related variables.
Definition at line 64 of file DxeCapsuleReportLibNull.c.
EFI_STATUS RecordCapsuleStatusVariable | ( | IN EFI_CAPSULE_HEADER * | CapsuleHeader, |
IN EFI_STATUS | CapsuleStatus | ||
) |
Record capsule status variable and to local cache.
[in] | CapsuleHeader | The capsule image header |
[in] | CapsuleStatus | The capsule process stauts |
EFI_SUCCESS | The capsule status variable is recorded. |
EFI_OUT_OF_RESOURCES | No resource to record the capsule status variable. |
Definition at line 26 of file DxeCapsuleReportLibNull.c.
EFI_STATUS RecordFmpCapsuleStatusVariable | ( | IN EFI_CAPSULE_HEADER * | CapsuleHeader, |
IN EFI_STATUS | CapsuleStatus, | ||
IN UINTN | PayloadIndex, | ||
IN EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER * | ImageHeader, | ||
IN EFI_DEVICE_PATH_PROTOCOL *FmpDevicePath | OPTIONAL, | ||
IN CHAR16 *CapFileName | OPTIONAL | ||
) |
Record FMP capsule status variable and to local cache.
[in] | CapsuleHeader | The capsule image header |
[in] | CapsuleStatus | The capsule process stauts |
[in] | PayloadIndex | FMP payload index |
[in] | ImageHeader | FMP image header |
[in] | FmpDevicePath | DevicePath associated with the FMP producer |
[in] | CapFileName | Capsule file name |
EFI_SUCCESS | The capsule status variable is recorded. |
EFI_OUT_OF_RESOURCES | No resource to record the capsule status variable. |
Definition at line 48 of file DxeCapsuleReportLibNull.c.