3 Copyright (c) 2006 - 2007, 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 Defined the platform specific device path which will be used by
19 platform Bbd to perform the platform policy connect.
23 #include "BdsPlatform.h"
26 // Predefined platform default time out value
28 UINT16 gPlatformBootTimeOutDefault
= 3;
30 ACPI_HID_DEVICE_PATH gPnpPs2KeyboardDeviceNode
= gPnpPs2Keyboard
;
31 ACPI_HID_DEVICE_PATH gPnp16550ComPortDeviceNode
= gPnp16550ComPort
;
32 UART_DEVICE_PATH gUartDeviceNode
= gUart
;
33 VENDOR_DEVICE_PATH gTerminalTypeDeviceNode
= gPcAnsiTerminal
;
36 // Predefined platform root bridge
38 PLATFORM_ROOT_BRIDGE_DEVICE_PATH gPlatformRootBridge0
= {
43 EFI_DEVICE_PATH_PROTOCOL
*gPlatformRootBridges
[] = {
44 (EFI_DEVICE_PATH_PROTOCOL
*) &gPlatformRootBridge0
,
48 USB_CLASS_FORMAT_DEVICE_PATH gUsbClassKeyboardDevicePath
= {
51 MESSAGING_DEVICE_PATH
,
53 (UINT8
) (sizeof (USB_CLASS_DEVICE_PATH
)),
54 (UINT8
) ((sizeof (USB_CLASS_DEVICE_PATH
)) >> 8)
58 CLASS_HID
, // DeviceClass
59 SUBCLASS_BOOT
, // DeviceSubClass
60 PROTOCOL_KEYBOARD
// DeviceProtocol
65 END_ENTIRE_DEVICE_PATH_SUBTYPE
,
66 END_DEVICE_PATH_LENGTH
,
73 // Platform specific Dummy ISA keyboard device path
75 PLATFORM_DUMMY_ISA_KEYBOARD_DEVICE_PATH gDummyIsaKeyboardDevicePath = {
83 // Platform specific Dummy ISA serial device path
85 PLATFORM_DUMMY_ISA_SERIAL_DEVICE_PATH gDummyIsaSerialDevicePath = {
95 // Platform specific Dummy PCI VGA device path
97 PLATFORM_DUMMY_PCI_VGA_DEVICE_PATH gDummyPciVgaDevicePath = {
99 PCI_DEVICE_PATH_NODE(0, 0x2),
104 // Platform specific Dummy PCI serial device path
106 PLATFORM_DUMMY_PCI_SERIAL_DEVICE_PATH gDummyPciSerialDevicePath = {
109 PCI_DEVICE_PATH_NODE(0, 0x0),
116 // Predefined platform default console device path
118 BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole
[] = {
120 // need update dynamically
123 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyIsaSerialDevicePath,
124 // (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
127 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyIsaKeyboardDevicePath,
128 // (CONSOLE_IN | STD_ERROR)
131 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyPciVgaDevicePath,
135 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyPciSerialDevicePath,
136 // (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
139 (EFI_DEVICE_PATH_PROTOCOL
*) &gUsbClassKeyboardDevicePath
,
149 // Predefined platform specific driver option
151 EFI_DEVICE_PATH_PROTOCOL
*gPlatformDriverOption
[] = { NULL
};
154 // Predefined platform connect sequence
156 EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[] = { NULL
};