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, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #include <Protocol/FirmwareManagement.h>
19 #include <Guid/FmpCapsule.h>
20 #include <Library/CapsuleLib.h>
23 Record capsule status variable and to local cache.
25 @param[in] CapsuleHeader The capsule image header
26 @param[in] CapsuleStatus The capsule process stauts
28 @retval EFI_SUCCESS The capsule status variable is recorded.
29 @retval EFI_OUT_OF_RESOURCES No resource to record the capsule status variable.
32 RecordCapsuleStatusVariable (
33 IN EFI_CAPSULE_HEADER
*CapsuleHeader
,
34 IN EFI_STATUS CapsuleStatus
37 return EFI_UNSUPPORTED
;
41 Record FMP capsule status variable and to local cache.
43 @param[in] CapsuleHeader The capsule image header
44 @param[in] CapsuleStatus The capsule process stauts
45 @param[in] PayloadIndex FMP payload index
46 @param[in] ImageHeader FMP image header
47 @param[in] FmpDevicePath DevicePath associated with the FMP producer
49 @retval EFI_SUCCESS The capsule status variable is recorded.
50 @retval EFI_OUT_OF_RESOURCES No resource to record the capsule status variable.
53 RecordFmpCapsuleStatusVariable (
54 IN EFI_CAPSULE_HEADER
*CapsuleHeader
,
55 IN EFI_STATUS CapsuleStatus
,
56 IN UINTN PayloadIndex
,
57 IN EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER
*ImageHeader
,
58 IN EFI_DEVICE_PATH_PROTOCOL
*FmpDevicePath OPTIONAL
61 return EFI_UNSUPPORTED
;
65 Initialize capsule related variables.