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,\
46 END_DEVICE_PATH_LENGTH,\
53 EMU_VENDOR_DEVICE_PATH_NODE EmuBus
;
54 EMU_VENDOR_DEVICE_PATH_NODE EmuGraphicsWindow
;
55 EFI_DEVICE_PATH_PROTOCOL End
;
56 } EMU_PLATFORM_UGA_DEVICE_PATH
;
60 // Platform BDS Functions
63 PlatformBdsGetDriverOption (
64 IN LIST_ENTRY
*BdsDriverLists
69 EXTENDMEM_COVERAGE_LEVEL Level
74 PlatformBdsConnectSequence (
80 EFI_BOOT_MODE BootMode
84 PlatformBdsConnectConsole (
85 IN BDS_CONSOLE_CONNECT_ENTRY
*PlatformConsole
89 PlatformBdsNoConsoleAction (
94 PlatformBdsEnterFrontPage (
95 IN UINT16 TimeoutDefault
,
96 IN BOOLEAN ConnectAllHappened
99 #endif // _BDS_PLATFORM_H