VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/CapsuleLib.h@ 62180

最後變更 在這個檔案從62180是 58466,由 vboxsync 提交於 9 年 前

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.5 KB
 
1/** @file
2
3 This library class defines a set of interfaces for how to process capsule image updates.
4
5Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
6This program and the accompanying materials are licensed and made available under
7the terms and conditions of the BSD License that accompanies this distribution.
8The full text of the license may be found at
9http://opensource.org/licenses/bsd-license.php.
10
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16#ifndef __CAPSULE_LIB_H__
17#define __CAPSULE_LIB_H__
18
19/**
20 The firmware checks whether the capsule image is supported
21 by the CapsuleGuid in CapsuleHeader or if there is other specific information in
22 the capsule image.
23
24 @param CapsuleHeader Pointer to the UEFI capsule image to be checked.
25
26 @retval EFI_SUCESS Input capsule is supported by firmware.
27 @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
28**/
29EFI_STATUS
30EFIAPI
31SupportCapsuleImage (
32 IN EFI_CAPSULE_HEADER *CapsuleHeader
33 );
34
35/**
36 The firmware-specific implementation processes the capsule image
37 if it recognized the format of this capsule image.
38
39 @param CapsuleHeader Pointer to the UEFI capsule image to be processed.
40
41 @retval EFI_SUCESS Capsule Image processed successfully.
42 @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
43**/
44EFI_STATUS
45EFIAPI
46ProcessCapsuleImage (
47 IN EFI_CAPSULE_HEADER *CapsuleHeader
48 );
49
50#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette