CVS commit: [netbsd-11] src/sys/arch/i386/stand/efiboot

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Tue Jun 30 09:52:57 UTC 2026

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

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #356):

	sys/arch/i386/stand/efiboot/bootia32/multiboot32.S: revision 1.3
	sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.7
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.9
	sys/arch/i386/stand/efiboot/bootia32/startprog32.S: revision 1.4
	sys/arch/i386/stand/efiboot/bootx64/multiboot64.S: revision 1.2
	sys/arch/i386/stand/efiboot/bootx64/startprog64.S: revision 1.6

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.8.8.1 \
    src/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
cvs rdiff -u -r1.2 -r1.2.36.1 \
    src/sys/arch/i386/stand/efiboot/bootia32/multiboot32.S
cvs rdiff -u -r1.3 -r1.3.8.1 \
    src/sys/arch/i386/stand/efiboot/bootia32/startprog32.S
cvs rdiff -u -r1.6 -r1.6.8.1 \
    src/sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
cvs rdiff -u -r1.1 -r1.1.40.1 \
    src/sys/arch/i386/stand/efiboot/bootx64/multiboot64.S
cvs rdiff -u -r1.5 -r1.5.8.1 \
    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.