2 Vfr file for IP4 config.
4 Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #include "Ip4NvData.h"
16 #define EFI_NETWORK_DEVICE_CLASS 0x04
19 guid = EFI_NIC_IP4_CONFIG_NVDATA_GUID,
20 title = STRING_TOKEN(STR_IP4_CONFIG_FORM_TITLE),
21 help = STRING_TOKEN(STR_IP4_CONFIG_FORM_HELP),
23 varstore IP4_CONFIG_IFR_NVDATA,
24 name = EfiNicIp4ConfigVariable,
25 guid = EFI_NIC_IP4_CONFIG_NVDATA_GUID;
27 form formid = FORMID_MAIN_FORM,
28 title = STRING_TOKEN(STR_IP4_DEVICE_FORM_TITLE);
30 checkbox varid = EfiNicIp4ConfigVariable.Configure,
31 prompt = STRING_TOKEN(STR_IP4_CONFIGURE),
32 help = STRING_TOKEN(STR_IP4_CONFIGURE),
37 suppressif ideqval EfiNicIp4ConfigVariable.Configure == 0x00;
39 checkbox varid = EfiNicIp4ConfigVariable.DhcpEnable,
40 prompt = STRING_TOKEN(STR_IP4_ENABLE_DHCP),
41 help = STRING_TOKEN(STR_IP4_ENABLE_DHCP),
43 key = KEY_DHCP_ENABLE,
47 suppressif ideqval EfiNicIp4ConfigVariable.DhcpEnable == 0x01 OR ideqval EfiNicIp4ConfigVariable.Configure == 0x00;
49 string varid = EfiNicIp4ConfigVariable.StationAddress,
50 prompt = STRING_TOKEN(STR_IP4_LOCAL_IP_ADDRESS),
51 help = STRING_TOKEN(STR_IP4_IP_ADDRESS_HELP),
54 minsize = IP_MIN_SIZE,
55 maxsize = IP_MAX_SIZE,
58 string varid = EfiNicIp4ConfigVariable.SubnetMask,
59 prompt = STRING_TOKEN(STR_IP4_LOCAL_MASK),
60 help = STRING_TOKEN(STR_IP4_IP_ADDRESS_HELP),
62 key = KEY_SUBNET_MASK,
63 minsize = IP_MIN_SIZE,
64 maxsize = IP_MAX_SIZE,
67 string varid = EfiNicIp4ConfigVariable.GatewayAddress,
68 prompt = STRING_TOKEN(STR_IP4_LOCAL_GATEWAY),
69 help = STRING_TOKEN(STR_IP4_IP_ADDRESS_HELP),
72 minsize = IP_MIN_SIZE,
73 maxsize = IP_MAX_SIZE,
78 subtitle text = STRING_TOKEN(STR_NULL);
81 help = STRING_TOKEN(STR_SAVE_CHANGES),
82 text = STRING_TOKEN(STR_SAVE_CHANGES),
84 key = KEY_SAVE_CHANGES;