History log of /netbsd-current/sys/arch/i386/stand/efiboot/boot.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.23 14-May-2023 riastradh

x86/efiboot: Nix trailing whitespace.


# 1.22 20-Apr-2023 manu

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.


Revision tags: netbsd-10-base bouyer-sunxi-drm-base
# 1.21 08-Jun-2022 wiz

branches: 1.21.4;
Do not use default entry's parameters for for plain "boot" command

Go back to the "menu" instead of you want that.

Patch from RVP in PR 56862, ok uwe@


# 1.20 07-Sep-2021 nia

Remove banner printing code from bootloaders, add it to libsa.

This harmonizes efiboot and the various x86 bootloaders to use shared
code for printing the banner. By friendly coincidence, it also adds
support for specifying 'banner=' in arm efiboot's boot.cfg, as on x86.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
# 1.19 22-Jun-2021 nia

efiboot (x86): add ASCII art


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

branches: 1.17.12; 1.17.14;
x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.22 20-Apr-2023 manu

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.


Revision tags: netbsd-10-base bouyer-sunxi-drm-base
# 1.21 08-Jun-2022 wiz

Do not use default entry's parameters for for plain "boot" command

Go back to the "menu" instead of you want that.

Patch from RVP in PR 56862, ok uwe@


# 1.20 07-Sep-2021 nia

Remove banner printing code from bootloaders, add it to libsa.

This harmonizes efiboot and the various x86 bootloaders to use shared
code for printing the banner. By friendly coincidence, it also adds
support for specifying 'banner=' in arm efiboot's boot.cfg, as on x86.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
# 1.19 22-Jun-2021 nia

efiboot (x86): add ASCII art


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

branches: 1.17.12; 1.17.14;
x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.21 08-Jun-2022 wiz

Do not use default entry's parameters for for plain "boot" command

Go back to the "menu" instead of you want that.

Patch from RVP in PR 56862, ok uwe@


# 1.20 07-Sep-2021 nia

Remove banner printing code from bootloaders, add it to libsa.

This harmonizes efiboot and the various x86 bootloaders to use shared
code for printing the banner. By friendly coincidence, it also adds
support for specifying 'banner=' in arm efiboot's boot.cfg, as on x86.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
# 1.19 22-Jun-2021 nia

efiboot (x86): add ASCII art


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

branches: 1.17.12; 1.17.14;
x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.20 07-Sep-2021 nia

Remove banner printing code from bootloaders, add it to libsa.

This harmonizes efiboot and the various x86 bootloaders to use shared
code for printing the banner. By friendly coincidence, it also adds
support for specifying 'banner=' in arm efiboot's boot.cfg, as on x86.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
# 1.19 22-Jun-2021 nia

efiboot (x86): add ASCII art


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1
# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

branches: 1.17.12; 1.17.14;
x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.19 22-Jun-2021 nia

efiboot (x86): add ASCII art


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 thorpej-i2c-spi-conf-base
# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

branches: 1.17.12; 1.17.14;
x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.18 30-May-2021 mlelstv

Add "root" command to provide a BTINFO_ROOTDEVICE parameter.


Revision tags: cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.17 26-Sep-2019 nonaka

x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

branches: 1.10.2;
efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.17 26-Sep-2019 nonaka

x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.16 13-Sep-2019 manu

Add multiboot 2 support to x86 bootloaders

multiboot 2 is required to boot Xen on an EFI system.
This also require a kernel patch for properly discovering
the ACPI RSDP, which is available after 20190912, in
src/sys/arch/x86/acpi/acpi_machdep.c 1.26-1.28

There are a few missing bit in this multiboot 2 implementation
(which are unused by Xen):
- Header tags Address, Freambuffer, and Relocatable are ignored
- Tags APM and Network are not provided
- Tags ACPI old and ACP new are only provided for ACPI boot
- Tag boot device does not provides the subpart (BSD disklabel partition)

Notes:
- multiboot2 is disabled in dosboot, otherwise the binary
gets too big and build fails.
- in src/sys/arch/i386/stand/efiboot, consinit() is renamed
as efi_consinit() to avoid prototype conflicts in src/sys/sys/systm.h


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

branches: 1.13.2;
Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.15 02-Sep-2019 manu

Make sure devices names are copied including last byte

Fix from M. Levinson.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.14 18-Aug-2019 manu

Add GPT and RAIDframe support to bootloaders

Classic BIOS (/boot) and EFI bootloaders can now name devices
using the NAME=gpt_label syntax, or using raid partitions. Here
are examples:
boot NAME=root:/netbsd
boot raid0e:/netbsd


Revision tags: netbsd-9-base
# 1.13 29-Jul-2019 nonaka

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.13 29-Jul-2019 nonaka

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.12 26-Jul-2019 nonaka

Pre-allocate memory for the kernel space at startup.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.11 20-Jun-2019 maxv

Add KASLR support in UEFI.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


Revision tags: isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.10 11-Apr-2018 nonaka

efiboot: Added network boot support.


Revision tags: pgoyette-compat-0407
# 1.9 02-Apr-2018 nonaka

efiboot: try to read boot.cfg from /EFI/NetBSD on ESP of the booted disk.


Revision tags: pgoyette-compat-0330
# 1.8 27-Mar-2018 nonaka

efiboot: Added serial console support.


Revision tags: pgoyette-compat-0322
# 1.7 20-Mar-2018 nonaka

efiboot: more pager.


Revision tags: pgoyette-compat-0315
# 1.6 08-Mar-2018 nonaka

efiboot: system can boot from CD/DVD-ROM media.


Revision tags: pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1
# 1.5 01-May-2017 nonaka

branches: 1.5.2; 1.5.8; 1.5.10;
efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.6; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


Revision tags: prg-localcount2-base1
# 1.5 01-May-2017 nonaka

efiboot: implement consdev command.

no support to change console device for efiboot yet.
only pass console parameters to kernel.


Revision tags: prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320
# 1.4 12-Mar-2017 nonaka

branches: 1.4.2; 1.4.8;
efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.4 12-Mar-2017 nonaka

efiboot: Kernel modules are loaded in pre-allocated memory.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.


# 1.3 03-Mar-2017 nonaka

efiboot: fix efivar command.


Revision tags: nick-nhusb-base-20170204
# 1.2 03-Feb-2017 roy

branches: 1.2.2;
rows is a uint ... it will always be greater than or equal to 0.


# 1.1 24-Jan-2017 nonaka

Initial commit of native amd64 EFI boot loader.