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