2 Define NVData structures used by the HTTP Boot configuration component.
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _HTTP_BOOT_NVDATA_STRUC_H_
10 #define _HTTP_BOOT_NVDATA_STRUC_H_
12 #include <Guid/HttpBootConfigHii.h>
14 #define HTTP_BOOT_IP_VERSION_4 0
15 #define HTTP_BOOT_IP_VERSION_6 1
18 // Macros used for an IPv4 or an IPv6 address.
20 #define URI_STR_MIN_SIZE 0
21 #define URI_STR_MAX_SIZE 255
23 #define DESCRIPTION_STR_MIN_SIZE 6
24 #define DESCRIPTION_STR_MAX_SIZE 75
26 #define CONFIGURATION_VARSTORE_ID 0x1234
28 #define FORMID_MAIN_FORM 1
30 #define KEY_INITIATOR_URI 0x101
32 #define HTTP_BOOT_DEFAULT_DESCRIPTION_STR L"UEFI HTTP"
35 typedef struct _HTTP_BOOT_CONFIG_IFR_NVDATA
{
38 CHAR16 Description
[DESCRIPTION_STR_MAX_SIZE
];
39 CHAR16 Uri
[URI_STR_MAX_SIZE
];
40 } HTTP_BOOT_CONFIG_IFR_NVDATA
;