11284 loader: add HTTP support using UEFI

Review Request #2030 - Created June 30, 2019 and updated

Information
Toomas Soome
illumos-gate
11284
954f518...
Reviewers
general
https://svnweb.freebsd.org/base?view=revision&revision=349349
https://svnweb.freebsd.org/base?view=revision&revision=349404
https://svnweb.freebsd.org/base?view=revision&revision=349564
https://svnweb.freebsd.org/base?view=revision&revision=349565
https://svnweb.freebsd.org/base?view=revision&revision=349566

Add support for an HTTP "network filesystem" using the UEFI's HTTP
stack.

This also supports HTTPS, but TianoCore EDK2 implementations currently
crash while fetching loader files.
Only IPv4 is supported at the moment. IPv6 support is planned for a
follow-up changeset.

Note that we include some headers from the TianoCore EDK II project in
stand/efi/include/Protocol verbatim, including links to the license instead
of including the full text because that's their preferred way of
communicating it, despite not being normal FreeBSD project practice.

Submitted by:	scottph
Reviewed by:	imp, bcran

This code is only tested in FreeBSD by FreeBSD people - I do not have UEFI HTTP boot capable systems. Therefore all test restults are welcome:) I do have tested "normal" tftp/nfs boot, however.

Issues

  • 3
  • 0
  • 0
  • 3
Description From Last Updated
Missing NULL check. Gergő Mihály Doma Gergő Mihály Doma
Error handling? Type range error? Gergő Mihály Doma Gergő Mihály Doma
Missing NULL check. Gergő Mihály Doma Gergő Mihály Doma
Gergő Mihály Doma

   

Missing NULL check.

Error handling?
Type range error?

Missing NULL check.

Loading...