NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/59151: efiboot hangs on new motherboard



The following reply was made to PR misc/59151; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: Paul Ripke <stix%stix.id.au@localhost>, gnats-bugs%NetBSD.org@localhost
Subject: Re: misc/59151: efiboot hangs on new motherboard
Date: Sun, 24 May 2026 09:14:11 +0000 (UTC)

 On Thu, 21 May 2026, Taylor R Campbell wrote:
 
 > Did you also apply the same change to add `.data' to multiboot64.S?
 >
 > Because efi_md_init writes to both startprog64 and multiboot64,
 > unconditionally, even if the bootloader will only use one or the other
 > later on:
 >
 >     43 void
 >     44 efi_md_init(void)
 >     45 {
 > ...
 >     57 	startprog64 = (void *)addr;
 > ...
 >     67 	multiboot64 = (void *)addr;
 >
 
 Ah... I missed that bit.
 
 > https://nxr.NetBSD.org/xref/src/sys/arch/i386/stand/efiboot/bootx64/efibootx64.c?r=1.6#43
 >
 > If so, that would explain the mystery of the difference between those
 > two patches.
 >
 
 Yup, that would account for it.
 
 -RVP
 



Home | Main Index | Thread Index | Old Index