2008-04-09 09:07:50 +02:00
|
|
|
/** @file
|
|
|
|
The internal header file includes the common header files, defines
|
|
|
|
internal structure FVB_ENTRY.
|
2007-06-28 13:29:10 +02:00
|
|
|
|
2008-04-09 09:07:50 +02:00
|
|
|
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
|
2007-07-30 10:21:39 +02: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
|
2007-06-28 13:29:10 +02:00
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
2007-07-30 05:48:58 +02:00
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
2007-06-28 13:29:10 +02:00
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __FVB_H__
|
|
|
|
#define __FVB_H__
|
|
|
|
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-06-28 13:29:10 +02:00
|
|
|
#include <PiDxe.h>
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-06-28 13:29:10 +02:00
|
|
|
#include <Protocol/FirmwareVolumeBlock.h>
|
|
|
|
#include <Protocol/FvbExtension.h>
|
2007-07-20 08:10:09 +02:00
|
|
|
|
2007-06-28 13:29:10 +02:00
|
|
|
#include <Library/FvbServiceLib.h>
|
|
|
|
#include <Library/UefiLib.h>
|
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
#include <Library/UefiRuntimeLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
|
|
|
|
#define MAX_FVB_COUNT 16
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
EFI_HANDLE Handle;
|
|
|
|
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb;
|
|
|
|
EFI_FVB_EXTENSION_PROTOCOL *FvbExtension;
|
|
|
|
BOOLEAN IsRuntimeAccess;
|
|
|
|
} FVB_ENTRY;
|
|
|
|
|
|
|
|
#endif
|