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