This commit is contained in:
parent
a961ac1e69
commit
075c85d0ff
@ -221,7 +221,7 @@ HlInitializeComPort(IN OUT PCPPORT Port,
|
|||||||
PortNumber = 1;
|
PortNumber = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We support up to COM8 */
|
/* We support only a pre-defined number of ports */
|
||||||
if(PortNumber > ARRAY_SIZE(ComPortAddress))
|
if(PortNumber > ARRAY_SIZE(ComPortAddress))
|
||||||
{
|
{
|
||||||
/* Fail if wrong/unsupported port used */
|
/* Fail if wrong/unsupported port used */
|
||||||
|
@ -63,6 +63,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
|
|||||||
EfiImageHandle = ImageHandle;
|
EfiImageHandle = ImageHandle;
|
||||||
EfiSystemTable = SystemTable;
|
EfiSystemTable = SystemTable;
|
||||||
|
|
||||||
|
/* Early initialize COM port for debugging (115200 8n1) */
|
||||||
Status = HlInitializeComPort(&EfiSerialPort, 1, 0);
|
Status = HlInitializeComPort(&EfiSerialPort, 1, 0);
|
||||||
if(Status != STATUS_SUCCESS)
|
if(Status != STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user