summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-02-08 09:13:25 +0000
committerpatrick <patrick@openbsd.org>2017-02-08 09:13:25 +0000
commitfa854029e6734b2816cfbe458f817f0874d261d5 (patch)
tree1de2d295722d3cbf60ceb1ba8cbb9135121f85c1 /sys/netinet6/ip6_input.c
parentLog size of output buffer as well. (diff)
downloadwireguard-openbsd-fa854029e6734b2816cfbe458f817f0874d261d5.tar.xz
wireguard-openbsd-fa854029e6734b2816cfbe458f817f0874d261d5.zip
Retry BS->ExitBootServices() if it fails, like on amd64. Also we need
to make sure to pass the current mapkey to prove EFI that we know the current memory map and its constraints. Otherwise EFI can choose to only partially exit until we pass the correct key. As we already use the memory map to allocate memory for the kernel, split the previous function into one simply retrieving the table and another one who uses the map to allocate memory. At some point it would be nice to actually pass the table to the kernel since its data is more reliable than the FDT only. While there, sync a bit of style with the amd64 version.
Diffstat (limited to 'sys/netinet6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions