]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManagerVfr.Vfr
bc457ce3ebd9c7a3fefc81e2b910b16ed0afeea4
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / DeviceMngr / DeviceManagerVfr.Vfr
1 ///** @file
2 //
3 // Device Manager formset.
4 //
5 // Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
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 #define FORMSET_GUID { 0x3ebfa8e6, 0x511d, 0x4b5b, 0xa9, 0x5f, 0xfb, 0x38, 0x26, 0xf, 0x1c, 0x27 }
17
18 #define EFI_DISK_DEVICE_CLASS 0x0001
19 #define EFI_VIDEO_DEVICE_CLASS 0x0002
20 #define EFI_NETWORK_DEVICE_CLASS 0x0004
21 #define EFI_INPUT_DEVICE_CLASS 0x0008
22 #define EFI_ON_BOARD_DEVICE_CLASS 0x0010
23 #define EFI_OTHER_DEVICE_CLASS 0x0020
24 #define LABEL_VBIOS 0x0040
25 #define LABEL_DEVICES_LIST 0x1100
26 #define LABEL_NETWORK_DEVICE_LIST_ID 0x1101
27 #define LABEL_NETWORK_DEVICE_ID 0x1102
28 #define LABEL_END 0xffff
29
30 #define DEVICE_MANAGER_CLASS 0x0000
31 #define FRONT_PAGE_SUBCLASS 0x0003
32
33 #define DEVICE_MANAGER_FORM_ID 0x1000
34 #define NETWORK_DEVICE_LIST_FORM_ID 0x1001
35 #define NETWORK_DEVICE_FORM_ID 0x1002
36
37 formset
38 guid = FORMSET_GUID,
39 title = STRING_TOKEN(STR_EDKII_MENU_TITLE),
40 help = STRING_TOKEN(STR_EMPTY_STRING),
41 classguid = FORMSET_GUID,
42
43 form formid = DEVICE_MANAGER_FORM_ID,
44 title = STRING_TOKEN(STR_EDKII_MENU_TITLE);
45
46 subtitle text = STRING_TOKEN(STR_DEVICES_LIST);
47 //
48 // This is where devices get added to the device manager hierarchy
49 //
50 label EFI_DISK_DEVICE_CLASS;
51 // label LABEL_END; // Since next opcode is a label, so this one could be omitted to save code size
52
53 label EFI_VIDEO_DEVICE_CLASS;
54 // label LABEL_END;
55
56 label EFI_NETWORK_DEVICE_CLASS;
57 // label LABEL_END;
58
59 label EFI_INPUT_DEVICE_CLASS;
60 // label LABEL_END;
61
62 label EFI_ON_BOARD_DEVICE_CLASS;
63 // label LABEL_END;
64
65 // label EFI_OTHER_DEVICE_CLASS;
66
67 label LABEL_DEVICES_LIST;
68 label LABEL_END;
69
70 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
71
72 label LABEL_VBIOS;
73 label LABEL_END;
74
75 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
76 subtitle text = STRING_TOKEN(STR_EXIT_STRING);
77
78 endform;
79
80 form formid = NETWORK_DEVICE_LIST_FORM_ID,
81 title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_LIST_TITLE);
82
83 subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_LIST_STRING);
84
85 label LABEL_NETWORK_DEVICE_LIST_ID;
86 label LABEL_END;
87 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
88 subtitle text = STRING_TOKEN(STR_EXIT_STRING);
89 endform;
90
91 form formid = NETWORK_DEVICE_FORM_ID,
92 title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_TITLE);
93
94 subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_STRING);
95
96 label LABEL_NETWORK_DEVICE_ID;
97 label LABEL_END;
98 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
99 subtitle text = STRING_TOKEN(STR_EXIT_STRING);
100 endform;
101 endformset;
102