NetBSD/share
martin 8420f92950 Pull up following revision(s) (requested by manu in ticket #1632):
share/man/man8/man8.x86/boot.8: revision 1.27
	sys/arch/i386/stand/efiboot/version: revision 1.3
	share/man/man8/man8.x86/boot.8: revision 1.28 (via patch)
	share/man/man8/man8.x86/boot.8: revision 1.29 (via patch)
	sys/arch/i386/stand/lib/exec.c: revision 1.79
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.13
	sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.6
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.6
	sys/arch/i386/stand/efiboot/boot.c: revision 1.22
	sys/arch/amd64/amd64/locore.S: revision 1.219
	sys/arch/i386/stand/efiboot/bootia32/startprog32.S: revision 1.3
	sys/arch/i386/stand/efiboot/efiboot.h: revision 1.12
	sys/arch/amd64/conf/files.amd64: revision 1.121
	sys/arch/amd64/conf/std.amd64: revision 1.13
	share/man/man8/man8.x86/pxeboot.8: revision 1.6
	sys/arch/i386/stand/efiboot/bootx64/startprog64.S: revision 1.4
	sys/arch/amd64/amd64/locore.S: revision 1.220
	share/man/man8/man8.x86/dosboot.8: revision 1.4
	share/man/man4/options.4: revision 1.524

Add reloc keyworkd to let EFI bootstrap load amd64 kernel at any address

EFI bootstrap assumes it can copy the amd64 kernel to its ELF load
address (that is KERNTEXTOFF - KERNBASE = 0x200000), but it can
clash with previous UEFI memory allocation, as described here:
http://mail-index.netbsd.org/tech-kern/2023/04/07/msg028833.html

This change adds a reloc keyword for controling where the EFI
boostrap will copy the kernel image. Possible values are:
default - the default and prior behavior, copy at 0x200000.
none - do not copy and use the kernel image where it was loaded.
address - specify an explicit address where to copy the kernel.

This comes with an amd64 kernel patch that makes it self-relocatable.
It first discover where it was loaded in memory, and if this is
different than the expected 0x200000, hhe the kernel relocates
itself and start over at the right address.

Merge x86 boot options in x86/boot(8) and add undocumented UEFI options

We were supposed to keep the option list in x86/boot(8), x86/dosoot(8)
and x86/pxeboot(8) in sync, but it did not happen, hence it may work
better with all the options in x86/boot(8). Also add the undocumented
UEFI boot options.

Add a SELFRELOC kernel option for the sake of documentation clarity.
Instead of telling that x86/boot(8) reloc command needs a kernel able
to self relocate, we can tell it needs a kernel built with the
SELFRELOC option. This keeps the reader from wondering what could
make a kernel able to self relocate.

Remove XXX todo marker left by mistake

Raise the version for new feature (here reloc command)
Suggested by Masanobu SAITOH
2023-05-13 11:45:53 +00:00
..
dict Add missing word: cactus. PR 53432. 2018-07-15 06:40:39 +00:00
doc comment out the IFF_TRAILERS stuff that is no longer relevant and add 2019-02-05 19:53:13 +00:00
examples Pull up following revision(s) (requested by sevan in ticket #445): 2019-11-19 10:58:30 +00:00
i18n Add more aliases for Hebrew and Arabic ISO-8859-... encodings. 2018-06-08 12:07:41 +00:00
installboot Add Banana Pi BPI-M2 Zero and P2 Zero. 2019-06-05 07:22:49 +00:00
legal
locale Pull up following revision(s) (requested by kim in ticket #804): 2020-03-30 18:29:39 +00:00
man Pull up following revision(s) (requested by manu in ticket #1632): 2023-05-13 11:45:53 +00:00
me
misc Pull up following revision(s) (requested by sevan in ticket #967): 2020-06-21 10:28:20 +00:00
mk Fix editor mishap in previous merge 2021-02-04 19:05:00 +00:00
nls
tabset
terminfo For wsvt25, stop disabling color attributes for underlined text. 2019-07-28 02:37:54 +00:00
tmac Pull up following revision(s) (requested by uwe in ticket #652): 2020-01-26 11:19:36 +00:00
wscons Add AltGr modifier for brazilian abnt2 keymap. 2018-05-29 19:45:31 +00:00
xml
Makefile Add installboot(8) support for evbarm (and, in the future, other evb*) 2019-05-07 05:02:41 +00:00
Makefile.inc