2008-07-09 15:33:20 +02:00
|
|
|
/** @file
|
|
|
|
Null Dxe Capsule Library instance.
|
2007-12-05 07:28:08 +01:00
|
|
|
|
2008-07-09 15:33:20 +02:00
|
|
|
Copyright (c) 2007 - 2008 Intel Corporation
|
2007-12-05 07:28:08 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
**/
|
2008-08-30 16:09:38 +02:00
|
|
|
#include <Uefi.h>
|
2007-12-05 07:28:08 +01:00
|
|
|
#include <Library/CapsuleLib.h>
|
|
|
|
|
|
|
|
/**
|
2008-07-09 15:33:20 +02:00
|
|
|
Check those capsules are supported by the firmwares.
|
2007-12-05 07:28:08 +01:00
|
|
|
|
2008-02-25 07:29:00 +01:00
|
|
|
@param CapsuleHeader Point to the UEFI capsule image to be checked.
|
|
|
|
|
2007-12-05 07:28:08 +01:00
|
|
|
@retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
SupportCapsuleImage (
|
|
|
|
IN EFI_CAPSULE_HEADER *CapsuleHeader
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return EFI_UNSUPPORTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
The firmware implements to process the capsule image.
|
|
|
|
|
2008-02-25 07:29:00 +01:00
|
|
|
@param CapsuleHeader Point to the UEFI capsule image to be processed.
|
|
|
|
|
2007-12-05 07:28:08 +01:00
|
|
|
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
ProcessCapsuleImage (
|
|
|
|
IN EFI_CAPSULE_HEADER *CapsuleHeader
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return EFI_UNSUPPORTED;
|
|
|
|
}
|
|
|
|
|
|
|
|
|