Allow the kernel to recognize that it has been netbooted and to add the
authornaddy <naddy@openbsd.org>
Tue, 6 Feb 2018 20:35:21 +0000 (20:35 +0000)
committernaddy <naddy@openbsd.org>
Tue, 6 Feb 2018 20:35:21 +0000 (20:35 +0000)
commit9ccb13ab66011f36494f750d1a0149d0a0c9af33
treeca0df919bc914d9a4da51b395e49f8aee630f3ac
parent9b1733a3376db2f0222a1dde1edbb8ceb970b3d8
Allow the kernel to recognize that it has been netbooted and to add the
boot interface to the "netboot" group.  efiboot grabs the MAC address
from the PXE environment, passes it to the kernel, where it is matched
against the list of ethernet interfaces and the boot device is set.
Concept and most of the code cribbed from amd64.
ok kettenis@
sys/arch/arm64/arm64/autoconf.c
sys/arch/arm64/arm64/machdep.c
sys/arch/arm64/stand/efiboot/conf.c
sys/arch/arm64/stand/efiboot/efiboot.c
sys/arch/arm64/stand/efiboot/efipxe.c