]>
Commit | Line | Data |
---|---|---|
143f0b1d ED |
1 | ///** @file\r |
2 | // \r | |
3 | // Device Manager formset.\r | |
4 | // \r | |
afc244a5 | 5 | // Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r |
143f0b1d ED |
6 | // This program and the accompanying materials\r |
7 | // are licensed and made available under the terms and conditions of the BSD License\r | |
8 | // which accompanies this distribution. The full text of the license may be found at\r | |
9 | // http://opensource.org/licenses/bsd-license.php\r | |
10 | // \r | |
11 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | // \r | |
14 | //**/\r | |
15 | \r | |
16 | #define FORMSET_GUID { 0x3ebfa8e6, 0x511d, 0x4b5b, 0xa9, 0x5f, 0xfb, 0x38, 0x26, 0xf, 0x1c, 0x27 }\r | |
17 | \r | |
18 | #define EFI_DISK_DEVICE_CLASS 0x0001\r | |
19 | #define EFI_VIDEO_DEVICE_CLASS 0x0002\r | |
20 | #define EFI_NETWORK_DEVICE_CLASS 0x0004\r | |
21 | #define EFI_INPUT_DEVICE_CLASS 0x0008\r | |
22 | #define EFI_ON_BOARD_DEVICE_CLASS 0x0010\r | |
23 | #define EFI_OTHER_DEVICE_CLASS 0x0020\r | |
24 | #define LABEL_VBIOS 0x0040\r | |
25 | #define LABEL_DEVICES_LIST 0x1100\r | |
26 | #define LABEL_NETWORK_DEVICE_LIST_ID 0x1101\r | |
27 | #define LABEL_NETWORK_DEVICE_ID 0x1102\r | |
28 | #define LABEL_END 0xffff\r | |
29 | \r | |
30 | #define DEVICE_MANAGER_CLASS 0x0000\r | |
31 | #define FRONT_PAGE_SUBCLASS 0x0003\r | |
32 | \r | |
33 | #define DEVICE_MANAGER_FORM_ID 0x1000\r | |
34 | #define NETWORK_DEVICE_LIST_FORM_ID 0x1001\r | |
35 | #define NETWORK_DEVICE_FORM_ID 0x1002\r | |
36 | \r | |
37 | formset\r | |
38 | guid = FORMSET_GUID,\r | |
39 | title = STRING_TOKEN(STR_EDKII_MENU_TITLE),\r | |
40 | help = STRING_TOKEN(STR_EMPTY_STRING),\r | |
41 | classguid = FORMSET_GUID,\r | |
42 | \r | |
43 | form formid = DEVICE_MANAGER_FORM_ID,\r | |
44 | title = STRING_TOKEN(STR_EDKII_MENU_TITLE);\r | |
45 | \r | |
46 | subtitle text = STRING_TOKEN(STR_DEVICES_LIST);\r | |
47 | //\r | |
48 | // This is where devices get added to the device manager hierarchy\r | |
49 | //\r | |
50 | label EFI_DISK_DEVICE_CLASS;\r | |
51 | // label LABEL_END; // Since next opcode is a label, so this one could be omitted to save code size\r | |
52 | \r | |
53 | label EFI_VIDEO_DEVICE_CLASS;\r | |
54 | // label LABEL_END;\r | |
55 | \r | |
56 | label EFI_NETWORK_DEVICE_CLASS;\r | |
57 | // label LABEL_END;\r | |
58 | \r | |
59 | label EFI_INPUT_DEVICE_CLASS;\r | |
60 | // label LABEL_END;\r | |
61 | \r | |
62 | label EFI_ON_BOARD_DEVICE_CLASS;\r | |
63 | // label LABEL_END;\r | |
64 | \r | |
65 | // label EFI_OTHER_DEVICE_CLASS;\r | |
66 | \r | |
67 | label LABEL_DEVICES_LIST;\r | |
68 | label LABEL_END;\r | |
69 | \r | |
70 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
71 | \r | |
72 | label LABEL_VBIOS;\r | |
73 | label LABEL_END;\r | |
74 | \r | |
75 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
76 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
77 | \r | |
78 | endform;\r | |
79 | \r | |
80 | form formid = NETWORK_DEVICE_LIST_FORM_ID,\r | |
81 | title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_LIST_TITLE);\r | |
82 | \r | |
83 | subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_LIST_STRING);\r | |
84 | \r | |
85 | label LABEL_NETWORK_DEVICE_LIST_ID;\r | |
86 | label LABEL_END;\r | |
87 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
88 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
89 | endform;\r | |
90 | \r | |
91 | form formid = NETWORK_DEVICE_FORM_ID,\r | |
92 | title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_TITLE);\r | |
93 | \r | |
94 | subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_STRING);\r | |
95 | \r | |
96 | label LABEL_NETWORK_DEVICE_ID;\r | |
97 | label LABEL_END;\r | |
98 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
99 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
100 | endform;\r | |
101 | endformset;\r | |
102 | \r |