Add missing comments
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2022-08-10 16:31:09 +02:00
parent a961ac1e69
commit 075c85d0ff
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,7 @@ HlInitializeComPort(IN OUT PCPPORT Port,
PortNumber = 1;
}
/* We support up to COM8 */
/* We support only a pre-defined number of ports */
if(PortNumber > ARRAY_SIZE(ComPortAddress))
{
/* Fail if wrong/unsupported port used */

View File

@ -63,6 +63,7 @@ BlStartXtLoader(IN EFI_HANDLE ImageHandle,
EfiImageHandle = ImageHandle;
EfiSystemTable = SystemTable;
/* Early initialize COM port for debugging (115200 8n1) */
Status = HlInitializeComPort(&EfiSerialPort, 1, 0);
if(Status != STATUS_SUCCESS)
{