]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/TemplateBds/BdsEntry.h
Fix VS2003 cast issue
[mirror_edk2.git] / EmbeddedPkg / TemplateBds / BdsEntry.h
1 /** @file
2
3 Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
4
5 All rights reserved. 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
16 #ifndef __BDS_ENTRY_H__
17 #define __BDS_ENTRY_H__
18
19 #include <PiDxe.h>
20 #include <Library/BaseLib.h>
21 #include <Library/DebugLib.h>
22 #include <Library/PrintLib.h>
23 #include <Library/BaseMemoryLib.h>
24 #include <Library/UefiBootServicesTableLib.h>
25 #include <Library/UefiLib.h>
26 #include <Library/MemoryAllocationLib.h>
27 #include <Library/DxeServicesTableLib.h>
28 #include <Library/UefiRuntimeServicesTableLib.h>
29 #include <Library/HobLib.h>
30 #include <Library/DevicePathLib.h>
31 #include <Library/PcdLib.h>
32
33 #include <Protocol/Bds.h>
34 #include <Protocol/SerialIo.h>
35 #include <Protocol/FirmwareVolume2.h>
36 #include <Protocol/SimpleTextIn.h>
37 #include <Protocol/SimpleTextOut.h>
38
39
40
41
42 EFI_STATUS
43 LoadPeCoffSectionFromFv (
44 IN EFI_HANDLE FvHandle,
45 IN EFI_GUID *NameGuid
46 );
47
48 EFI_STATUS
49 FindApplicationMatchingUiSection (
50 IN CHAR16 *UiString,
51 OUT EFI_HANDLE *FvHandle,
52 OUT EFI_GUID **NameGuid
53 );
54
55 VOID
56 EFIAPI
57 BdsEntry (
58 IN EFI_BDS_ARCH_PROTOCOL *This
59 );
60
61 #endif
62