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