• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/** @file
2  VFR file used by the HTTP Boot configuration component.
3
4  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5
6  This program and the accompanying materials
7  are licensed and made available under the terms and conditions of the BSD License
8  which accompanies this distribution.  The full text of the license may be found at
9  http://opensource.org/licenses/bsd-license.php.
10
11  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16#include "HttpBootConfigNVDataStruc.h"
17
18
19formset
20  guid   = HTTP_BOOT_CONFIG_GUID,
21  title  = STRING_TOKEN(STR_HTTP_BOOT_CONFIG_FORM_TITLE),
22  help   = STRING_TOKEN(STR_HTTP_BOOT_CONFIG_FORM_HELP),
23
24  varstore HTTP_BOOT_CONFIG_IFR_NVDATA,
25    name = HTTP_BOOT_CONFIG_IFR_NVDATA,
26    guid = HTTP_BOOT_CONFIG_GUID;
27
28  form formid = FORMID_MAIN_FORM,
29    title  = STRING_TOKEN(STR_HTTP_BOOT_CONFIG_FORM_TITLE);
30
31    string  varid   = HTTP_BOOT_CONFIG_IFR_NVDATA.Description,
32            prompt  = STRING_TOKEN(STR_BOOT_DESCRIPTION_PROMPT),
33            help    = STRING_TOKEN(STR_NULL_STRING),
34            minsize = DESCRIPTION_STR_MIN_SIZE,
35            maxsize = DESCRIPTION_STR_MAX_SIZE,
36    endstring;
37
38    oneof varid  = HTTP_BOOT_CONFIG_IFR_NVDATA.IpVersion,
39          prompt = STRING_TOKEN(STR_HTTP_BOOT_IP_VERSION_PROMPT),
40          help   = STRING_TOKEN(STR_HTTP_BOOT_IP_VERSION_HELP),
41          option text = STRING_TOKEN(STR_HTTP_BOOT_IP_VERSION_4),   value = HTTP_BOOT_IP_VERSION_4,   flags = DEFAULT;
42          option text = STRING_TOKEN(STR_HTTP_BOOT_IP_VERSION_6),   value = HTTP_BOOT_IP_VERSION_6,   flags = 0;
43    endoneof;
44
45    string  varid   = HTTP_BOOT_CONFIG_IFR_NVDATA.Uri,
46            prompt  = STRING_TOKEN(STR_BOOT_URI_PROMPT),
47            help    = STRING_TOKEN(STR_BOOT_URI_HELP),
48            flags   = INTERACTIVE,
49            key     = KEY_INITIATOR_URI,
50            minsize = URI_STR_MIN_SIZE,
51            maxsize = URI_STR_MAX_SIZE,
52    endstring;
53  endform;
54
55endformset;
56