]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Add RAM disk boot support to HTTP Boot driver.
authorFu Siyuan <siyuan.fu@intel.com>
Tue, 22 Mar 2016 05:30:58 +0000 (13:30 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Mon, 11 Apr 2016 01:49:05 +0000 (09:49 +0800)
commit587d204ccda4b507be4f9f42e8c9d226fd755be0
tree56f5d7668645348a3f4ec16055df3e84db72452f
parent64ee6ed72ad5c1e4b7c9a96f419c3592e93314ad
NetworkPkg: Add RAM disk boot support to HTTP Boot driver.

This patch updates the HTTP Boot driver to support the download and boot
a RAM disk image from HTTP server.
The HTTP RAM disk boot is described in section 23.7 "HTTP Boot" in
UEFI 2.6. HTTP server could provide either an UEFI image or a RAM disk image
for the HTTP boot client to use. The RAM disk image must contain a UEFI
compliant file system in it.
HTTP boot driver will identify the image type either by the "Content-Type"
entity header filed or by the file name extension as below:
  "application/efi" or *.efi -> EFI Image
  *.iso                      -> CD/DVD Image
  *.img                      -> Virtual Disk Image

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com>
NetworkPkg/HttpBootDxe/HttpBootClient.c
NetworkPkg/HttpBootDxe/HttpBootClient.h
NetworkPkg/HttpBootDxe/HttpBootDxe.h
NetworkPkg/HttpBootDxe/HttpBootDxe.inf
NetworkPkg/HttpBootDxe/HttpBootImpl.c
NetworkPkg/HttpBootDxe/HttpBootSupport.c
NetworkPkg/HttpBootDxe/HttpBootSupport.h