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 } UNIX_VENDOR_DEVICE_PATH_NODE;
45 // Below is the platform console device path
48 VENDOR_DEVICE_PATH UnixBus;
49 UNIX_VENDOR_DEVICE_PATH_NODE SerialDevice;
50 UART_DEVICE_PATH Uart;
51 VENDOR_DEVICE_PATH TerminalType;
52 EFI_DEVICE_PATH_PROTOCOL End;
53 } UNIX_ISA_SERIAL_DEVICE_PATH;
56 VENDOR_DEVICE_PATH UnixBus;
57 UNIX_VENDOR_DEVICE_PATH_NODE UnixUgaDevice;
58 EFI_DEVICE_PATH_PROTOCOL End;
59 } UNIX_PLATFORM_UGA_DEVICE_PATH;
62 VENDOR_DEVICE_PATH UnixBus;
63 UNIX_VENDOR_DEVICE_PATH_NODE ConsoleDevice;
64 EFI_DEVICE_PATH_PROTOCOL End;
65 } UNIX_CONSOLE_DEVICE_PATH;
67 // Platform BDS Functions
71 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
76 PlatformBdsPolicyBehavior (
77 IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
78 IN LIST_ENTRY *DriverOptionList,
79 IN LIST_ENTRY *BootOptionList
84 PlatformBdsGetDriverOption (
85 IN LIST_ENTRY *BdsDriverLists
91 EXTENDMEM_COVERAGE_LEVEL Level
96 PlatformBdsShowProgress (
97 EFI_UGA_PIXEL TitleForeground,
98 EFI_UGA_PIXEL TitleBackground,
100 EFI_UGA_PIXEL ProgressColor,
107 PlatformBdsConnectSequence (
113 PlatformBdsBootFail (
114 IN BDS_COMMON_OPTION *Option,
115 IN EFI_STATUS Status,
117 IN UINTN ExitDataSize
122 PlatformBdsBootSuccess (
123 IN BDS_COMMON_OPTION *Option
129 EFI_BOOT_MODE BootMode
134 PlatformBdsConnectConsole (
135 IN BDS_CONSOLE_CONNECT_ENTRY *PlatformConsole
140 PlatformBdsNoConsoleAction (
145 #endif // _BDS_PLATFORM_H