#include <Protocol/Http.h>\r
#include <Protocol/Ip4Config2.h>\r
#include <Protocol/Ip6Config.h>\r
+#include <Protocol/RamDisk.h>\r
//\r
// Produced Protocols\r
//\r
//\r
#define HTTP_BOOT_DXE_VERSION 0xa\r
\r
+//\r
+// Provisional Standard Media Types defined in \r
+// http://www.iana.org/assignments/provisional-standard-media-types/provisional-standard-media-types.xhtml\r
+//\r
+#define HTTP_CONTENT_TYPE_APP_EFI "application/efi"\r
+\r
//\r
// Protocol instances\r
//\r
typedef struct _HTTP_BOOT_PRIVATE_DATA HTTP_BOOT_PRIVATE_DATA;\r
typedef struct _HTTP_BOOT_VIRTUAL_NIC HTTP_BOOT_VIRTUAL_NIC;\r
\r
+typedef enum {\r
+ ImageTypeEfi,\r
+ ImageTypeVirtualCd,\r
+ ImageTypeVirtualDisk,\r
+ ImageTypeMax\r
+} HTTP_BOOT_IMAGE_TYPE;\r
+\r
//\r
// Include files with internal function prototypes\r
//\r
EFI_IP_ADDRESS GatewayIp;\r
EFI_IP_ADDRESS ServerIp;\r
UINT16 Port;\r
+\r
+ //\r
+ // The URI string attempt to download through HTTP, may point to\r
+ // the memory in cached DHCP offer, or to the memory in FilePathUri.\r
+ //\r
CHAR8 *BootFileUri;\r
VOID *BootFileUriParser;\r
UINTN BootFileSize;\r