2 DXE capsule report related function.
3 Dummy function for runtime module, because CapsuleDxeRuntime
4 does not need record capsule status variable.
6 Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Protocol/FirmwareManagement.h>
13 #include <Guid/FmpCapsule.h>
14 #include <Library/CapsuleLib.h>
17 Record capsule status variable and to local cache.
19 @param[in] CapsuleHeader The capsule image header
20 @param[in] CapsuleStatus The capsule process stauts
22 @retval EFI_SUCCESS The capsule status variable is recorded.
23 @retval EFI_OUT_OF_RESOURCES No resource to record the capsule status variable.
26 RecordCapsuleStatusVariable (
27 IN EFI_CAPSULE_HEADER
*CapsuleHeader
,
28 IN EFI_STATUS CapsuleStatus
31 return EFI_UNSUPPORTED
;
35 Record FMP capsule status variable and to local cache.
37 @param[in] CapsuleHeader The capsule image header
38 @param[in] CapsuleStatus The capsule process stauts
39 @param[in] PayloadIndex FMP payload index
40 @param[in] ImageHeader FMP image header
41 @param[in] FmpDevicePath DevicePath associated with the FMP producer
42 @param[in] CapFileName Capsule file name
44 @retval EFI_SUCCESS The capsule status variable is recorded.
45 @retval EFI_OUT_OF_RESOURCES No resource to record the capsule status variable.
48 RecordFmpCapsuleStatusVariable (
49 IN EFI_CAPSULE_HEADER
*CapsuleHeader
,
50 IN EFI_STATUS CapsuleStatus
,
51 IN UINTN PayloadIndex
,
52 IN EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER
*ImageHeader
,
53 IN EFI_DEVICE_PATH_PROTOCOL
*FmpDevicePath OPTIONAL
,
54 IN CHAR16
*CapFileName OPTIONAL
57 return EFI_UNSUPPORTED
;
61 Initialize capsule related variables.