• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /** @file
2 Head file for BDS Platform specific code
3 
4 Copyright (c) 2015, 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 <Guid/DebugAgentGuid.h>
25 #include <Guid/EventGroup.h>
26 #include <Guid/PcAnsi.h>
27 #include <Guid/TtyTerm.h>
28 #include <Library/BaseLib.h>
29 #include <Library/BaseMemoryLib.h>
30 #include <Library/PcdLib.h>
31 #include <Library/DebugLib.h>
32 #include <Library/DevicePathLib.h>
33 #include <Library/MemoryAllocationLib.h>
34 #include <Library/UefiBootServicesTableLib.h>
35 #include <Library/UefiLib.h>
36 #include <Library/UefiBootManagerLib.h>
37 
38 
39 typedef struct {
40   EFI_DEVICE_PATH_PROTOCOL  *DevicePath;
41   UINTN                     ConnectType;
42 } PLATFORM_CONSOLE_CONNECT_ENTRY;
43 
44 extern PLATFORM_CONSOLE_CONNECT_ENTRY  gPlatformConsole[];
45 
46 #define CONSOLE_OUT BIT0
47 #define CONSOLE_IN  BIT1
48 #define STD_ERROR   BIT2
49 
50 #endif // _PLATFORM_BOOT_MANAGER_H
51