[Bug 266248] efi comconsole does not work with ARM64 Hyper-V

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Dec 2022 10:46:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266248

--- Comment #17 from schakrabarti@microsoft.com <schakrabarti@microsoft.com> ---
(In reply to Toomas Soome from comment #13)
I have tried this, and it has worked on ARM64 Hyper-V.
diff --git a/stand/efi/loader/efiserialio.c b/stand/efi/loader/efiserialio.c
index 8b3f8e83e0b3..2a4357af5f24 100644
--- a/stand/efi/loader/efiserialio.c
+++ b/stand/efi/loader/efiserialio.c
@@ -494,8 +494,8 @@ comc_setup(void)
                return (false);

        status = comc_port->sio->SetAttributes(comc_port->sio,
-           comc_port->baudrate, 0, 0, comc_port->parity,
-           comc_port->databits, comc_port->stopbits);
+           0, 0, 0, DefaultParity,
+           0, DefaultStopBits);
        if (EFI_ERROR(status))
                return (false);

Should I put this to review?

-- 
You are receiving this mail because:
You are the assignee for the bug.