Define NVData structures used by the HTTP Boot configuration component.\r
\r
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
#include <Guid/HttpBootConfigHii.h>\r
\r
-#define HTTP_BOOT_IP_VERSION_4 0\r
-#define HTTP_BOOT_IP_VERSION_6 1\r
+#define HTTP_BOOT_IP_VERSION_4 0\r
+#define HTTP_BOOT_IP_VERSION_6 1\r
\r
//\r
// Macros used for an IPv4 or an IPv6 address.\r
//\r
-#define URI_STR_MIN_SIZE 8\r
-#define URI_STR_MAX_SIZE 255\r
+#define URI_STR_MIN_SIZE 0\r
+#define URI_STR_MAX_SIZE 255\r
+\r
+#define DESCRIPTION_STR_MIN_SIZE 6\r
+#define DESCRIPTION_STR_MAX_SIZE 75\r
\r
#define CONFIGURATION_VARSTORE_ID 0x1234\r
\r
-#define FORMID_MAIN_FORM 1\r
+#define FORMID_MAIN_FORM 1\r
+\r
+#define KEY_INITIATOR_URI 0x101\r
+\r
+#define HTTP_BOOT_DEFAULT_DESCRIPTION_STR L"UEFI HTTP"\r
\r
#pragma pack(1)\r
typedef struct _HTTP_BOOT_CONFIG_IFR_NVDATA {\r
UINT8 IpVersion;\r
UINT8 Padding;\r
- CHAR16 Description[URI_STR_MAX_SIZE];\r
+ CHAR16 Description[DESCRIPTION_STR_MAX_SIZE];\r
CHAR16 Uri[URI_STR_MAX_SIZE];\r
} HTTP_BOOT_CONFIG_IFR_NVDATA;\r
#pragma pack()\r