TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeCapsuleReportLibNull.c File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ InitCapsuleVariable()

VOID InitCapsuleVariable ( VOID  )

Initialize capsule related variables.

Definition at line 64 of file DxeCapsuleReportLibNull.c.

◆ RecordCapsuleStatusVariable()

EFI_STATUS RecordCapsuleStatusVariable ( IN EFI_CAPSULE_HEADER CapsuleHeader,
IN EFI_STATUS  CapsuleStatus 
)

Record capsule status variable and to local cache.

Parameters
[in]CapsuleHeaderThe capsule image header
[in]CapsuleStatusThe capsule process stauts
Return values
EFI_SUCCESSThe capsule status variable is recorded.
EFI_OUT_OF_RESOURCESNo resource to record the capsule status variable.

Definition at line 26 of file DxeCapsuleReportLibNull.c.

◆ RecordFmpCapsuleStatusVariable()

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.

Parameters
[in]CapsuleHeaderThe capsule image header
[in]CapsuleStatusThe capsule process stauts
[in]PayloadIndexFMP payload index
[in]ImageHeaderFMP image header
[in]FmpDevicePathDevicePath associated with the FMP producer
[in]CapFileNameCapsule file name
Return values
EFI_SUCCESSThe capsule status variable is recorded.
EFI_OUT_OF_RESOURCESNo resource to record the capsule status variable.

Definition at line 48 of file DxeCapsuleReportLibNull.c.