3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Head file for BDS Platform specific code
22 #ifndef _BDS_PLATFORM_H
23 #define _BDS_PLATFORM_H
25 #include "IndustryStandard/pci22.h"
27 extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole
[];
28 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[];
29 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformDriverOption
[];
33 END_DEVICE_PATH_TYPE,\
34 END_ENTIRE_DEVICE_PATH_SUBTYPE,\
36 END_DEVICE_PATH_LENGTH,\
42 VENDOR_DEVICE_PATH VendorDevicePath
;
44 } UNIX_VENDOR_DEVICE_PATH_NODE
;
47 // Below is the platform console device path
50 VENDOR_DEVICE_PATH UnixBus
;
51 UNIX_VENDOR_DEVICE_PATH_NODE SerialDevice
;
52 UART_DEVICE_PATH Uart
;
53 VENDOR_DEVICE_PATH TerminalType
;
54 EFI_DEVICE_PATH_PROTOCOL End
;
55 } UNIX_ISA_SERIAL_DEVICE_PATH
;
58 VENDOR_DEVICE_PATH UnixBus
;
59 UNIX_VENDOR_DEVICE_PATH_NODE UnixUgaDevice
;
60 EFI_DEVICE_PATH_PROTOCOL End
;
61 } UNIX_PLATFORM_UGA_DEVICE_PATH
;
64 VENDOR_DEVICE_PATH UnixBus
;
65 UNIX_VENDOR_DEVICE_PATH_NODE ConsoleDevice
;
66 EFI_DEVICE_PATH_PROTOCOL End
;
67 } UNIX_CONSOLE_DEVICE_PATH
;
69 // Platform BDS Functions
73 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
78 PlatformBdsPolicyBehavior (
79 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
,
80 IN LIST_ENTRY
*DriverOptionList
,
81 IN LIST_ENTRY
*BootOptionList
86 PlatformBdsGetDriverOption (
87 IN LIST_ENTRY
*BdsDriverLists
93 EXTENDMEM_COVERAGE_LEVEL Level
98 PlatformBdsShowProgress (
99 EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground
,
100 EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground
,
102 EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor
,
109 PlatformBdsConnectSequence (
115 PlatformBdsBootFail (
116 IN BDS_COMMON_OPTION
*Option
,
117 IN EFI_STATUS Status
,
119 IN UINTN ExitDataSize
124 PlatformBdsBootSuccess (
125 IN BDS_COMMON_OPTION
*Option
131 EFI_BOOT_MODE BootMode
136 PlatformBdsConnectConsole (
137 IN BDS_CONSOLE_CONNECT_ENTRY
*PlatformConsole
142 PlatformBdsNoConsoleAction (
147 #endif // _BDS_PLATFORM_H