TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpBootConfigNVDataStruc.h
Go to the documentation of this file.
1
9#ifndef _HTTP_BOOT_NVDATA_STRUC_H_
10#define _HTTP_BOOT_NVDATA_STRUC_H_
11
13
14#define HTTP_BOOT_IP_VERSION_4 0
15#define HTTP_BOOT_IP_VERSION_6 1
16
17//
18// Macros used for an IPv4 or an IPv6 address.
19//
20#define URI_STR_MIN_SIZE 0
21#define URI_STR_MAX_SIZE 255
22
23#define DESCRIPTION_STR_MIN_SIZE 6
24#define DESCRIPTION_STR_MAX_SIZE 75
25
26#define CONFIGURATION_VARSTORE_ID 0x1234
27
28#define FORMID_MAIN_FORM 1
29
30#define KEY_INITIATOR_URI 0x101
31
32#define HTTP_BOOT_DEFAULT_DESCRIPTION_STR L"UEFI HTTP"
33
34#pragma pack(1)
36 UINT8 IpVersion;
37 UINT8 Padding;
38 CHAR16 Description[DESCRIPTION_STR_MAX_SIZE];
39 CHAR16 Uri[URI_STR_MAX_SIZE];
41#pragma pack()
42
43#endif