]>
Commit | Line | Data |
---|---|---|
432cf05b | 1 | // *++\r |
2 | //\r | |
3 | // Copyright (c) 2009, Intel Corporation\r | |
4 | // All rights reserved. This program and the accompanying materials\r | |
5 | // are licensed and made available under the terms and conditions of the BSD License\r | |
6 | // which accompanies this distribution. The full text of the license may be found at\r | |
7 | // http://opensource.org/licenses/bsd-license.php\r | |
8 | //\r | |
9 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | //\r | |
12 | // Module Name:\r | |
13 | //\r | |
14 | // Vfr.vfr\r | |
15 | //\r | |
16 | // Abstract:\r | |
17 | //\r | |
18 | // Sample Setup formset\r | |
19 | //\r | |
20 | // Revision History:\r | |
21 | //\r | |
22 | // --*/\r | |
23 | \r | |
24 | \r | |
25 | \r | |
26 | #include "NVDataStruc.h"\r | |
27 | #include <Guid/HiiPlatformSetupFormset.h>\r | |
28 | \r | |
29 | formset\r | |
30 | guid = EFI_CALLER_ID_GUID,\r | |
31 | title = STRING_TOKEN(STR_FORM_SET_TITLE),\r | |
32 | help = STRING_TOKEN(STR_FORM_SET_TITLE_HELP),\r | |
33 | classguid = EFI_HII_DRIVER_HEALTH_FORMSET_GUID,\r | |
34 | \r | |
35 | //\r | |
36 | // Define a Buffer Storage (EFI_IFR_VARSTORE)\r | |
37 | //\r | |
38 | varstore DISK_IO_NV_DATA, // This is the data structure type\r | |
39 | varid = 0x1234, // Optional VarStore ID\r | |
40 | name = Config, // Define referenced name in vfr\r | |
41 | guid = EFI_CALLER_ID_GUID; // GUID of this buffer storage\r | |
42 | \r | |
43 | form formid = 1,\r | |
44 | \r | |
45 | title = STRING_TOKEN(STR_TITLE); \r | |
46 | //\r | |
47 | // Define a numeric\r | |
48 | //\r | |
49 | numeric varid = Config.ConfigGood,\r | |
50 | prompt = STRING_TOKEN(STR_CONFIG_CONTROLLER_LIST),\r | |
51 | help = STRING_TOKEN(STR_CONFIG_CONTROLLER_LIST_HELP),\r | |
52 | flags = DISPLAY_UINT_DEC,\r | |
53 | key = 0x1236,\r | |
54 | minimum = 0,\r | |
55 | maximum = 0xff,\r | |
56 | default = 0, \r | |
57 | endnumeric; \r | |
58 | endform;\r | |
59 | \r | |
60 | endformset;\r |