X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SignedCapsulePkg%2FInclude%2FLibrary%2FEdkiiSystemCapsuleLib.h;h=7c4359b0f876ecfec441de62ff577ac1a57fd41e;hp=11958e2538a3752968d97205daef71d583870de1;hb=HEAD;hpb=5f190b9070233c86fdbccc377d36f23f94bacd63 diff --git a/SignedCapsulePkg/Include/Library/EdkiiSystemCapsuleLib.h b/SignedCapsulePkg/Include/Library/EdkiiSystemCapsuleLib.h index 11958e2538..6b4fb3c261 100644 --- a/SignedCapsulePkg/Include/Library/EdkiiSystemCapsuleLib.h +++ b/SignedCapsulePkg/Include/Library/EdkiiSystemCapsuleLib.h @@ -2,17 +2,10 @@ EDKII System Capsule library. Copyright (c) 2016, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +SPDX-License-Identifier: BSD-2-Clause-Patent **/ - #ifndef __EDKII_SYSTEM_CAPSULE_LIB_H__ #define __EDKII_SYSTEM_CAPSULE_LIB_H__ @@ -32,10 +25,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. BOOLEAN EFIAPI ExtractSystemFirmwareImageFmpInfo ( - IN VOID *SystemFirmwareImage, - IN UINTN SystemFirmwareImageSize, - OUT EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR **ImageFmpInfo, - OUT UINTN *ImageFmpInfoSize + IN VOID *SystemFirmwareImage, + IN UINTN SystemFirmwareImageSize, + OUT EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR **ImageFmpInfo, + OUT UINTN *ImageFmpInfoSize ); /** @@ -52,10 +45,10 @@ ExtractSystemFirmwareImageFmpInfo ( BOOLEAN EFIAPI ExtractDriverFvImage ( - IN VOID *AuthenticatedImage, - IN UINTN AuthenticatedImageSize, - OUT VOID **DriverFvImage, - OUT UINTN *DriverFvImageSize + IN VOID *AuthenticatedImage, + IN UINTN AuthenticatedImageSize, + OUT VOID **DriverFvImage, + OUT UINTN *DriverFvImageSize ); /** @@ -72,10 +65,10 @@ ExtractDriverFvImage ( BOOLEAN EFIAPI ExtractConfigImage ( - IN VOID *AuthenticatedImage, - IN UINTN AuthenticatedImageSize, - OUT VOID **ConfigImage, - OUT UINTN *ConfigImageSize + IN VOID *AuthenticatedImage, + IN UINTN AuthenticatedImageSize, + OUT VOID **ConfigImage, + OUT UINTN *ConfigImageSize ); /** @@ -92,10 +85,10 @@ ExtractConfigImage ( BOOLEAN EFIAPI ExtractSystemFirmwareImage ( - IN VOID *AuthenticatedImage, - IN UINTN AuthenticatedImageSize, - OUT VOID **SystemFirmwareImage, - OUT UINTN *SystemFirmwareImageSize + IN VOID *AuthenticatedImage, + IN UINTN AuthenticatedImageSize, + OUT VOID **SystemFirmwareImage, + OUT UINTN *SystemFirmwareImageSize ); /** @@ -113,11 +106,11 @@ ExtractSystemFirmwareImage ( BOOLEAN EFIAPI ExtractAuthenticatedImage ( - IN VOID *Image, - IN UINTN ImageSize, - OUT UINT32 *LastAttemptStatus, - OUT VOID **AuthenticatedImage, - OUT UINTN *AuthenticatedImageSize + IN VOID *Image, + IN UINTN ImageSize, + OUT UINT32 *LastAttemptStatus, + OUT VOID **AuthenticatedImage, + OUT UINTN *AuthenticatedImageSize ); /** @@ -141,14 +134,13 @@ ExtractAuthenticatedImage ( EFI_STATUS EFIAPI CapsuleAuthenticateSystemFirmware ( - IN VOID *Image, - IN UINTN ImageSize, - IN BOOLEAN ForceVersionMatch, - OUT UINT32 *LastAttemptVersion, - OUT UINT32 *LastAttemptStatus, - OUT VOID **AuthenticatedImage, - OUT UINTN *AuthenticatedImageSize + IN VOID *Image, + IN UINTN ImageSize, + IN BOOLEAN ForceVersionMatch, + OUT UINT32 *LastAttemptVersion, + OUT UINT32 *LastAttemptStatus, + OUT VOID **AuthenticatedImage, + OUT UINTN *AuthenticatedImageSize ); #endif -