3 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
4 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
,
54 (UINT8
) (sizeof (USB_CLASS_DEVICE_PATH
)),
55 (UINT8
) ((sizeof (USB_CLASS_DEVICE_PATH
)) >> 8)
60 CLASS_HID
, // DeviceClass
61 SUBCLASS_BOOT
, // DeviceSubClass
62 PROTOCOL_KEYBOARD
// DeviceProtocol
67 END_ENTIRE_DEVICE_PATH_SUBTYPE
,
69 END_DEVICE_PATH_LENGTH
,
77 // Platform specific Dummy ISA keyboard device path
79 PLATFORM_DUMMY_ISA_KEYBOARD_DEVICE_PATH gDummyIsaKeyboardDevicePath = {
87 // Platform specific Dummy ISA serial device path
89 PLATFORM_DUMMY_ISA_SERIAL_DEVICE_PATH gDummyIsaSerialDevicePath = {
99 // Platform specific Dummy PCI VGA device path
101 PLATFORM_DUMMY_PCI_VGA_DEVICE_PATH gDummyPciVgaDevicePath = {
103 PCI_DEVICE_PATH_NODE(0, 0x2),
108 // Platform specific Dummy PCI serial device path
110 PLATFORM_DUMMY_PCI_SERIAL_DEVICE_PATH gDummyPciSerialDevicePath = {
113 PCI_DEVICE_PATH_NODE(0, 0x0),
120 // Predefined platform default console device path
122 BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole
[] = {
124 // need update dynamically
127 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyIsaSerialDevicePath,
128 // (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
131 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyIsaKeyboardDevicePath,
132 // (CONSOLE_IN | STD_ERROR)
135 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyPciVgaDevicePath,
139 // (EFI_DEVICE_PATH_PROTOCOL *) &gDummyPciSerialDevicePath,
140 // (CONSOLE_OUT | CONSOLE_IN | STD_ERROR)
143 (EFI_DEVICE_PATH_PROTOCOL
*) &gUsbClassKeyboardDevicePath
,
153 // Predefined platform specific driver option
155 EFI_DEVICE_PATH_PROTOCOL
*gPlatformDriverOption
[] = { NULL
};
158 // Predefined platform connect sequence
160 EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[] = { NULL
};