]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
Maintainers.txt: update mailing list information
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootConfigNVDataStruc.h
index 07043e7ee8376688cacd892668117bf0fdf4e992..3afa97598be2cac4eb757a10a3df299f7236e1fd 100644 (file)
@@ -2,13 +2,7 @@
   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
@@ -17,24 +11,31 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \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