1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
| /**@file
| Defined the platform specific device path which will be filled to
| ConIn/ConOut variables.
|
| Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
| Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
| SPDX-License-Identifier: BSD-2-Clause-Patent
|
| **/
|
| #include "PlatformBootManager.h"
|
| //
| // Platform specific serial device path
| //
| SERIAL_CONSOLE_DEVICE_PATH gSerialConsoleDevicePath0 = {
| {
| { HARDWARE_DEVICE_PATH, HW_VENDOR_DP, { sizeof (VENDOR_DEVICE_PATH), 0} },
| EFI_SERIAL_DXE_GUID // Use the driver's GUID
| },
| {
| { MESSAGING_DEVICE_PATH, MSG_UART_DP, { sizeof (UART_DEVICE_PATH), 0} },
| 0, // Reserved
| 115200, // BaudRate
| 8, // DataBits
| 1, // Parity
| 1 // StopBits
| },
| {
| { MESSAGING_DEVICE_PATH, MSG_VENDOR_DP, { sizeof (VENDOR_DEVICE_PATH), 0} },
| DEVICE_PATH_MESSAGING_PC_ANSI
| },
| { END_DEVICE_PATH_TYPE, END_ENTIRE_DEVICE_PATH_SUBTYPE, { sizeof (EFI_DEVICE_PATH_PROTOCOL), 0 } }
| };
|
| //
| // Predefined platform default console device path
| //
| PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
| {
| (EFI_DEVICE_PATH_PROTOCOL *) &gSerialConsoleDevicePath0,
| CONSOLE_OUT | CONSOLE_IN
| },
| {
| NULL,
| 0
| }
| };
|
|