1 /** @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 46 EFI_STATUS 47 LoadPeCoffSectionFromFv ( 48 IN EFI_HANDLE FvHandle, 49 IN EFI_GUID *NameGuid 50 ); 51 52 EFI_STATUS 53 FindApplicationMatchingUiSection ( 54 IN CHAR16 *UiString, 55 OUT EFI_HANDLE *FvHandle, 56 OUT EFI_GUID *NameGuid 57 ); 58 59 VOID 60 EFIAPI 61 BdsEntry ( 62 IN EFI_BDS_ARCH_PROTOCOL *This 63 ); 64 65 #endif 66 67