11284 loader: add HTTP support using UEFI

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

tsoome
illumos-gate
11284
954f518...
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.

  • 3
  • 0
  • 0
  • 0
  • 3
Description From Last Updated
Missing NULL check. domag02 domag02
Error handling? Type range error? domag02 domag02
Missing NULL check. domag02 domag02
domag02
  1. 
      
  2. Missing NULL check.

  3. Error handling?
    Type range error?
  4. Missing NULL check.

  5. 
      
Loading...