• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 Head file for BDS Platform specific code
3 
4 Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
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 #ifndef _PLATFORM_BOOT_MANAGER_H
15 #define _PLATFORM_BOOT_MANAGER_H
16 
17 #include <PiDxe.h>
18 
19 #include <Library/PlatformBootManagerLib.h>
20 
21 #include <Protocol/FirmwareVolume2.h>
22 #include <Protocol/AcpiS3Save.h>
23 #include <Protocol/DxeSmmReadyToLock.h>
24 #include <Protocol/EsrtManagement.h>
25 #include <Guid/DebugAgentGuid.h>
26 #include <Guid/EventGroup.h>
27 #include <Guid/PcAnsi.h>
28 #include <Guid/TtyTerm.h>
29 #include <Library/BaseLib.h>
30 #include <Library/BaseMemoryLib.h>
31 #include <Library/PcdLib.h>
32 #include <Library/DebugLib.h>
33 #include <Library/DevicePathLib.h>
34 #include <Library/MemoryAllocationLib.h>
35 #include <Library/UefiBootServicesTableLib.h>
36 #include <Library/UefiRuntimeServicesTableLib.h>
37 #include <Library/UefiLib.h>
38 #include <Library/UefiBootManagerLib.h>
39 #include <Library/PrintLib.h>
40 #include <Library/HobLib.h>
41 #include <Library/CapsuleLib.h>
42 #include <Library/DxeServicesLib.h>
43 
44 typedef struct {
45   EFI_DEVICE_PATH_PROTOCOL  *DevicePath;
46   UINTN                     ConnectType;
47 } PLATFORM_CONSOLE_CONNECT_ENTRY;
48 
49 extern PLATFORM_CONSOLE_CONNECT_ENTRY  gPlatformConsole[];
50 
51 #define CONSOLE_OUT BIT0
52 #define CONSOLE_IN  BIT1
53 #define STD_ERROR   BIT2
54 
55 #endif // _PLATFORM_BOOT_MANAGER_H
56