mirror of https://github.com/acidanthera/audk.git
EmbeddedPkg/SerialDxe: Fix SIMPLE_TEXT_OUT_DEVICE_PATH Device Path
The UART device type and subtype were inccorect. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11729 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
56226bf769
commit
52721ad540
|
@ -235,7 +235,7 @@ SIMPLE_TEXT_OUT_DEVICE_PATH mDevicePath = {
|
||||||
EFI_CALLER_ID_GUID // Use the drivers GUID
|
EFI_CALLER_ID_GUID // Use the drivers GUID
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
{ END_DEVICE_PATH_TYPE, END_ENTIRE_DEVICE_PATH_SUBTYPE, sizeof (UART_DEVICE_PATH), 0},
|
{ MESSAGING_DEVICE_PATH, MSG_UART_DP, sizeof (UART_DEVICE_PATH), 0},
|
||||||
0, // Reserved
|
0, // Reserved
|
||||||
FixedPcdGet64 (PcdUartDefaultBaudRate), // BaudRate
|
FixedPcdGet64 (PcdUartDefaultBaudRate), // BaudRate
|
||||||
FixedPcdGet8 (PcdUartDefaultDataBits), // DataBits
|
FixedPcdGet8 (PcdUartDefaultDataBits), // DataBits
|
||||||
|
|
|
@ -214,7 +214,7 @@ SIMPLE_TEXT_OUT_DEVICE_PATH mDevicePath = {
|
||||||
EFI_CALLER_ID_GUID
|
EFI_CALLER_ID_GUID
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
{ END_DEVICE_PATH_TYPE, END_ENTIRE_DEVICE_PATH_SUBTYPE, sizeof (UART_DEVICE_PATH), 0},
|
{ MESSAGING_DEVICE_PATH, MSG_UART_DP, sizeof (UART_DEVICE_PATH), 0},
|
||||||
0, // Reserved
|
0, // Reserved
|
||||||
FixedPcdGet64 (PcdUartDefaultBaudRate), // BaudRate
|
FixedPcdGet64 (PcdUartDefaultBaudRate), // BaudRate
|
||||||
FixedPcdGet8 (PcdUartDefaultDataBits), // DataBits
|
FixedPcdGet8 (PcdUartDefaultDataBits), // DataBits
|
||||||
|
|
Loading…
Reference in New Issue