VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c@ 77599

最後變更 在這個檔案從77599是 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.4 KB
 
1/** @file
2 Null Dxe Capsule Library instance does nothing and returns unsupport status.
3
4Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
5This program and the accompanying materials
6are licensed and made available under the terms and conditions of the BSD License
7which accompanies this distribution. The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14#include <Uefi.h>
15#include <Library/CapsuleLib.h>
16
17/**
18 The firmware checks whether the capsule image is supported
19 by the CapsuleGuid in CapsuleHeader or other specific information in capsule image.
20
21 @param CapsuleHeader Point to the UEFI capsule image to be checked.
22
23 @retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
24**/
25EFI_STATUS
26EFIAPI
27SupportCapsuleImage (
28 IN EFI_CAPSULE_HEADER *CapsuleHeader
29 )
30{
31 return EFI_UNSUPPORTED;
32}
33
34/**
35 The firmware specific implementation processes the capsule image
36 if it recognized the format of this capsule image.
37
38 @param CapsuleHeader Point to the UEFI capsule image to be processed.
39
40 @retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
41**/
42EFI_STATUS
43EFIAPI
44ProcessCapsuleImage (
45 IN EFI_CAPSULE_HEADER *CapsuleHeader
46 )
47{
48 return EFI_UNSUPPORTED;
49}
50
51
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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