2009-12-06 02:57:05 +01:00
|
|
|
/** @file
|
|
|
|
|
2010-04-29 14:24:22 +02:00
|
|
|
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2009-12-06 02:57:05 +01:00
|
|
|
|
2010-04-29 14:24:22 +02:00
|
|
|
This program and the accompanying materials
|
2009-12-06 02:57:05 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __BDS_ENTRY_H__
|
|
|
|
#define __BDS_ENTRY_H__
|
|
|
|
|
|
|
|
#include <PiDxe.h>
|
|
|
|
#include <Library/BaseLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/PrintLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
|
|
#include <Library/UefiLib.h>
|
|
|
|
#include <Library/MemoryAllocationLib.h>
|
|
|
|
#include <Library/DxeServicesTableLib.h>
|
|
|
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
|
|
#include <Library/HobLib.h>
|
|
|
|
#include <Library/DevicePathLib.h>
|
|
|
|
#include <Library/PcdLib.h>
|
|
|
|
#include <Library/MemoryAllocationLib.h>
|
|
|
|
#include <Library/PrintLib.h>
|
2010-04-22 00:04:35 +02:00
|
|
|
#include <Library/PerformanceLib.h>
|
2009-12-06 02:57:05 +01:00
|
|
|
|
|
|
|
#include <Protocol/Bds.h>
|
|
|
|
#include <Protocol/SerialIo.h>
|
|
|
|
#include <Protocol/FirmwareVolume2.h>
|
|
|
|
#include <Protocol/SimpleTextIn.h>
|
|
|
|
#include <Protocol/SimpleTextOut.h>
|
|
|
|
#include <Protocol/EmbeddedDevice.h>
|
|
|
|
#include <Protocol/DevicePath.h>
|
|
|
|
#include <Protocol/SimpleFileSystem.h>
|
|
|
|
#include <Protocol/UsbIo.h>
|
|
|
|
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
LoadPeCoffSectionFromFv (
|
2014-08-19 15:29:52 +02:00
|
|
|
IN EFI_HANDLE FvHandle,
|
2009-12-06 02:57:05 +01:00
|
|
|
IN EFI_GUID *NameGuid
|
|
|
|
);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
FindApplicationMatchingUiSection (
|
|
|
|
IN CHAR16 *UiString,
|
|
|
|
OUT EFI_HANDLE *FvHandle,
|
|
|
|
OUT EFI_GUID *NameGuid
|
|
|
|
);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
EFIAPI
|
|
|
|
BdsEntry (
|
|
|
|
IN EFI_BDS_ARCH_PROTOCOL *This
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|