3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 Portions copyright (c) 2011, Apple Inc. All rights reserved.
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
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.
15 #ifndef _BDS_PLATFORM_H
16 #define _BDS_PLATFORM_H
20 #include <Guid/EmuSystemConfig.h>
21 #include <Protocol/EmuThunk.h>
22 #include <Protocol/EmuIoThunk.h>
23 #include <Protocol/EmuGraphicsWindow.h>
25 #include <Library/DebugLib.h>
26 #include <Library/BaseMemoryLib.h>
27 #include <Library/UefiBootServicesTableLib.h>
28 #include <Library/UefiRuntimeServicesTableLib.h>
29 #include <Library/MemoryAllocationLib.h>
30 #include <Library/BaseLib.h>
31 #include <Library/PcdLib.h>
32 #include <Library/GenericBdsLib.h>
33 #include <Library/PlatformBdsLib.h>
34 #include <Library/DevicePathLib.h>
37 extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole
[];
38 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[];
39 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformDriverOption
[];
43 END_DEVICE_PATH_TYPE,\
44 END_ENTIRE_DEVICE_PATH_SUBTYPE,\
45 END_DEVICE_PATH_LENGTH,\
51 EMU_VENDOR_DEVICE_PATH_NODE EmuBus
;
52 EMU_VENDOR_DEVICE_PATH_NODE EmuGraphicsWindow
;
53 EFI_DEVICE_PATH_PROTOCOL End
;
54 } EMU_PLATFORM_UGA_DEVICE_PATH
;
58 // Platform BDS Functions
61 PlatformBdsGetDriverOption (
62 IN LIST_ENTRY
*BdsDriverLists
67 EXTENDMEM_COVERAGE_LEVEL Level
72 PlatformBdsConnectSequence (
78 EFI_BOOT_MODE BootMode
82 PlatformBdsConnectConsole (
83 IN BDS_CONSOLE_CONNECT_ENTRY
*PlatformConsole
87 PlatformBdsNoConsoleAction (
92 PlatformBdsEnterFrontPage (
93 IN UINT16 TimeoutDefault
,
94 IN BOOLEAN ConnectAllHappened
97 #endif // _BDS_PLATFORM_H