blob: 646f7b276d45b8a1de5f2a8ad4181e639f55d4ca [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301/** @file
2
3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef __BDS_ENTRY_H__
16#define __BDS_ENTRY_H__
17
18#include <PiDxe.h>
19#include <Library/BaseLib.h>
20#include <Library/DebugLib.h>
21#include <Library/PrintLib.h>
22#include <Library/BaseMemoryLib.h>
23#include <Library/UefiBootServicesTableLib.h>
24#include <Library/UefiLib.h>
25#include <Library/MemoryAllocationLib.h>
26#include <Library/DxeServicesTableLib.h>
27#include <Library/UefiRuntimeServicesTableLib.h>
28#include <Library/HobLib.h>
29#include <Library/DevicePathLib.h>
30#include <Library/PcdLib.h>
31#include <Library/MemoryAllocationLib.h>
32#include <Library/PrintLib.h>
33#include <Library/PerformanceLib.h>
34
35#include <Protocol/Bds.h>
36#include <Protocol/SerialIo.h>
37#include <Protocol/FirmwareVolume2.h>
38#include <Protocol/SimpleTextIn.h>
39#include <Protocol/SimpleTextOut.h>
40#include <Protocol/EmbeddedDevice.h>
41#include <Protocol/DevicePath.h>
42#include <Protocol/SimpleFileSystem.h>
43#include <Protocol/UsbIo.h>
44
45
46EFI_STATUS
47LoadPeCoffSectionFromFv (
48 IN EFI_HANDLE FvHandle,
49 IN EFI_GUID *NameGuid
50 );
51
52EFI_STATUS
53FindApplicationMatchingUiSection (
54 IN CHAR16 *UiString,
55 OUT EFI_HANDLE *FvHandle,
56 OUT EFI_GUID *NameGuid
57 );
58
59VOID
60EFIAPI
61BdsEntry (
62 IN EFI_BDS_ARCH_PROTOCOL *This
63 );
64
65#endif
66