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,\
35 END_DEVICE_PATH_LENGTH,\
40 VENDOR_DEVICE_PATH VendorDevicePath
;
42 } WIN_NT_VENDOR_DEVICE_PATH_NODE
;
45 // Below is the platform console device path
48 VENDOR_DEVICE_PATH NtBus
;
49 WIN_NT_VENDOR_DEVICE_PATH_NODE SerialDevice
;
50 UART_DEVICE_PATH Uart
;
51 VENDOR_DEVICE_PATH TerminalType
;
52 EFI_DEVICE_PATH_PROTOCOL End
;
53 } NT_ISA_SERIAL_DEVICE_PATH
;
56 VENDOR_DEVICE_PATH NtBus
;
57 WIN_NT_VENDOR_DEVICE_PATH_NODE NtUgaDevice
;
58 EFI_DEVICE_PATH_PROTOCOL End
;
59 } NT_PLATFORM_UGA_DEVICE_PATH
;
62 // Platform BDS Functions
66 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
71 PlatformBdsPolicyBehavior (
72 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
,
73 IN LIST_ENTRY
*DriverOptionList
,
74 IN LIST_ENTRY
*BootOptionList
79 PlatformBdsGetDriverOption (
80 IN LIST_ENTRY
*BdsDriverLists
86 EXTENDMEM_COVERAGE_LEVEL Level
91 PlatformBdsShowProgress (
92 EFI_UGA_PIXEL TitleForeground
,
93 EFI_UGA_PIXEL TitleBackground
,
95 EFI_UGA_PIXEL ProgressColor
,
102 PlatformBdsConnectSequence (
108 PlatformBdsBootFail (
109 IN BDS_COMMON_OPTION
*Option
,
110 IN EFI_STATUS Status
,
112 IN UINTN ExitDataSize
117 PlatformBdsBootSuccess (
118 IN BDS_COMMON_OPTION
*Option
124 EFI_BOOT_MODE BootMode
129 PlatformBdsConnectConsole (
130 IN BDS_CONSOLE_CONNECT_ENTRY
*PlatformConsole
135 PlatformBdsNoConsoleAction (
140 #endif // _BDS_PLATFORM_H