[haiku-commits] haiku: hrev56167 - src/system/boot/platform/efi

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 9 Jun 2022 02:53:00 +0000 (UTC)

hrev56167 adds 1 changeset to branch 'master'
old head: f386770953c699a86eecfd1e40b90a9a65aaf6f2
new head: 6a9406a1724e6c56c035b5d56456311b9c51eef9
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=6a9406a1724e+%5Ef386770953c6

----------------------------------------------------------------------------

6a9406a1724e: loader/efi: fix handling of serial devices.
  
  Fixes a regression introduced in hrev55297, fixes #17670.
  
  Change-Id: Icc157e093b8fa3f5e0c2a59ab84c81b780933d46

                         [ Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev56167
Commit:      6a9406a1724e6c56c035b5d56456311b9c51eef9
URL:         https://git.haiku-os.org/haiku/commit/?id=6a9406a1724e
Author:      Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Date:        Thu Jun  9 02:46:38 2022 UTC

Ticket:      https://dev.haiku-os.org/ticket/17670

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/system/boot/platform/efi/serial.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/efi/serial.cpp 
b/src/system/boot/platform/efi/serial.cpp
index 5a3bafb9be..9d74d8ce74 100644
--- a/src/system/boot/platform/efi/serial.cpp
+++ b/src/system/boot/platform/efi/serial.cpp
@@ -86,7 +86,7 @@ serial_putc(char ch)
 extern "C" void
 serial_puts(const char* string, size_t size)
 {
-       if (!sSerialEnabled)
+       if (!sSerialEnabled || (sSerial == NULL && sSerialUsesEFI))
                return;
 
        while (size-- != 0) {


Other related posts:

  • » [haiku-commits] haiku: hrev56167 - src/system/boot/platform/efi - Jessica Hamilton