]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/efi: Document the copy size trick
authorWarner Losh <imp@FreeBSD.org>
Sun, 4 Dec 2022 00:23:16 +0000 (17:23 -0700)
committerWarner Losh <imp@FreeBSD.org>
Tue, 24 Jan 2023 21:49:41 +0000 (14:49 -0700)
commit8bf162765f4268b31ac17e9fe398f69713752440
tree6f4d01ced7ad309b1bdcc643da195d365d55a6a1
parent68e7006a78c2bcc2fc70fc8eb2b622fa6140d48c
stand/efi: Document the copy size trick

We call bi_copymodules twice: once with 0 and once with the size of the
arena. We do this to find the size, it turns out. Document this.

Sponsored by: Netflix

(cherry picked from commit 67e39a0d1bdb24967591721bf7c995d61e0e1c2d)
stand/efi/loader/bootinfo.c