2 Defined the platform specific device path which will be used by
3 platform Bbd to perform the platform policy connect.
5 Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include "BdsPlatform.h"
19 // Debug Agent UART Device Path structure
23 VENDOR_DEVICE_PATH VendorHardware
;
24 UART_DEVICE_PATH Uart
;
25 VENDOR_DEVICE_PATH TerminalType
;
26 EFI_DEVICE_PATH_PROTOCOL End
;
27 } VENDOR_UART_DEVICE_PATH
;
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 // Platform specific keyboard device path
41 // Debug Agent UART Device Path
43 VENDOR_UART_DEVICE_PATH gDebugAgentUartDevicePath
= {
49 (UINT8
) (sizeof (VENDOR_DEVICE_PATH
)),
50 (UINT8
) ((sizeof (VENDOR_DEVICE_PATH
)) >> 8)
57 MESSAGING_DEVICE_PATH
,
60 (UINT8
) (sizeof (UART_DEVICE_PATH
)),
61 (UINT8
) ((sizeof (UART_DEVICE_PATH
)) >> 8)
65 0, // BaudRate - Default
66 0, // DataBits - Default
67 0, // Parity - Default
68 0, // StopBits - Default
76 // Predefined platform default console device path
78 PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole
[] = {
80 (EFI_DEVICE_PATH_PROTOCOL
*) &gDebugAgentUartDevicePath
,
81 (CONSOLE_OUT
| CONSOLE_IN
| STD_ERROR
)
90 // Predefined platform connect sequence
92 EFI_DEVICE_PATH_PROTOCOL
*gPlatformConnectSequence
[] = { NULL
};