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
26 // Include common header file for this module.
28 #include "CommonHeader.h"
30 #include "IndustryStandard/Pci22.h"
32 extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole
[];
33 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[];
34 extern EFI_DEVICE_PATH_PROTOCOL
*gPlatformDriverOption
[];
38 END_DEVICE_PATH_TYPE,\
39 END_ENTIRE_DEVICE_PATH_SUBTYPE,\
40 END_DEVICE_PATH_LENGTH,\
45 VENDOR_DEVICE_PATH VendorDevicePath
;
47 } WIN_NT_VENDOR_DEVICE_PATH_NODE
;
50 // Below is the platform console device path
53 VENDOR_DEVICE_PATH NtBus
;
54 WIN_NT_VENDOR_DEVICE_PATH_NODE SerialDevice
;
55 UART_DEVICE_PATH Uart
;
56 VENDOR_DEVICE_PATH TerminalType
;
57 EFI_DEVICE_PATH_PROTOCOL End
;
58 } NT_ISA_SERIAL_DEVICE_PATH
;
61 VENDOR_DEVICE_PATH NtBus
;
62 WIN_NT_VENDOR_DEVICE_PATH_NODE NtUgaDevice
;
63 EFI_DEVICE_PATH_PROTOCOL End
;
64 } NT_PLATFORM_UGA_DEVICE_PATH
;
67 VENDOR_DEVICE_PATH NtBus
;
68 WIN_NT_VENDOR_DEVICE_PATH_NODE NtGopDevice
;
69 EFI_DEVICE_PATH_PROTOCOL End
;
70 } NT_PLATFORM_GOP_DEVICE_PATH
;
73 // Platform BDS Functions
77 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
82 PlatformBdsPolicyBehavior (
83 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE
*PrivateData
,
84 IN LIST_ENTRY
*DriverOptionList
,
85 IN LIST_ENTRY
*BootOptionList
90 PlatformBdsGetDriverOption (
91 IN LIST_ENTRY
*BdsDriverLists
97 EXTENDMEM_COVERAGE_LEVEL Level
102 PlatformBdsShowProgress (
103 EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleForeground
,
104 EFI_GRAPHICS_OUTPUT_BLT_PIXEL TitleBackground
,
106 EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor
,
113 PlatformBdsConnectSequence (
119 PlatformBdsBootFail (
120 IN BDS_COMMON_OPTION
*Option
,
121 IN EFI_STATUS Status
,
123 IN UINTN ExitDataSize
128 PlatformBdsBootSuccess (
129 IN BDS_COMMON_OPTION
*Option
135 EFI_BOOT_MODE BootMode
140 PlatformBdsConnectConsole (
141 IN BDS_CONSOLE_CONNECT_ENTRY
*PlatformConsole
146 PlatformBdsNoConsoleAction (
151 #endif // _BDS_PLATFORM_H