CVS commit: src/sys/arch/i386/stand/efiboot

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Thu May 21 16:59:04 UTC 2026

Modified Files:
	src/sys/arch/i386/stand/efiboot/bootia32: efibootia32.c multiboot32.S
	    startprog32.S
	src/sys/arch/i386/stand/efiboot/bootx64: efibootx64.c multiboot64.S
	    startprog64.S

Log Message:
x86/efiboot: Put writable variables in .data, not .text.

And define them in the .c file where they're used; no need to have
extra unnecessary .S stuff just to define a global variable.

Based on patch by Paul Ripke to bootx64.efi, adapted for bootia32.efi
too.

PR kern/59151: efiboot hangs on new motherboard


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
    src/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/arch/i386/stand/efiboot/bootia32/multiboot32.S
cvs rdiff -u -r1.3 -r1.4 \
    src/sys/arch/i386/stand/efiboot/bootia32/startprog32.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
cvs rdiff -u -r1.1 -r1.2 \
    src/sys/arch/i386/stand/efiboot/bootx64/multiboot64.S
cvs rdiff -u -r1.5 -r1.6 \
    src/sys/arch/i386/stand/efiboot/bootx64/startprog64.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.