]>
Commit | Line | Data |
---|---|---|
5c08e117 | 1 | ///** @file\r |
2 | // \r | |
3 | // Device Manager formset.\r | |
4 | // \r | |
2fde83b1 | 5 | // Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r |
180a5a35 | 6 | // This program and the accompanying materials\r |
5c08e117 | 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 | |
2fde83b1 | 16 | #include "DeviceManagerVfr.h"\r |
5c08e117 | 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 | |
5c08e117 | 24 | \r |
25 | #define DEVICE_MANAGER_CLASS 0x0000\r | |
6aa22a17 | 26 | #define FRONT_PAGE_SUBCLASS 0x0003\r |
5c08e117 | 27 | \r |
5c08e117 | 28 | formset\r |
2fde83b1 | 29 | guid = DEVICE_MANAGER_FORMSET_GUID,\r |
75bf9d0e LG |
30 | title = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE),\r |
31 | help = STRING_TOKEN(STR_EMPTY_STRING),\r | |
2fde83b1 | 32 | classguid = DEVICE_MANAGER_FORMSET_GUID,\r |
75bf9d0e LG |
33 | class = DEVICE_MANAGER_CLASS,\r |
34 | subclass = FRONT_PAGE_SUBCLASS,\r | |
5c08e117 | 35 | \r |
36 | form formid = DEVICE_MANAGER_FORM_ID,\r | |
37 | title = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE);\r | |
38 | \r | |
3c4b1122 | 39 | subtitle text = STRING_TOKEN(STR_DEVICES_LIST);\r |
5c08e117 | 40 | //\r |
41 | // This is where devices get added to the device manager hierarchy\r | |
42 | //\r | |
43 | label EFI_DISK_DEVICE_CLASS;\r | |
44 | // label LABEL_END; // Since next opcode is a label, so this one could be omitted to save code size\r | |
45 | \r | |
46 | label EFI_VIDEO_DEVICE_CLASS;\r | |
47 | // label LABEL_END;\r | |
48 | \r | |
49 | label EFI_NETWORK_DEVICE_CLASS;\r | |
50 | // label LABEL_END;\r | |
51 | \r | |
52 | label EFI_INPUT_DEVICE_CLASS;\r | |
53 | // label LABEL_END;\r | |
54 | \r | |
55 | label EFI_ON_BOARD_DEVICE_CLASS;\r | |
56 | // label LABEL_END;\r | |
57 | \r | |
75bf9d0e LG |
58 | // label EFI_OTHER_DEVICE_CLASS;\r |
59 | \r | |
60 | label LABEL_DEVICES_LIST;\r | |
5c08e117 | 61 | label LABEL_END;\r |
ab4da126 | 62 | \r |
5c08e117 | 63 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r |
64 | \r | |
65 | label LABEL_VBIOS;\r | |
66 | label LABEL_END;\r | |
ab4da126 | 67 | \r |
5c08e117 | 68 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r |
69 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
70 | \r | |
71 | endform;\r | |
3c4b1122 ED |
72 | \r |
73 | form formid = NETWORK_DEVICE_LIST_FORM_ID,\r | |
74 | title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_LIST_TITLE);\r | |
75 | \r | |
76 | subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_LIST_STRING);\r | |
77 | \r | |
78 | label LABEL_NETWORK_DEVICE_LIST_ID;\r | |
79 | label LABEL_END;\r | |
80 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
81 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
82 | endform;\r | |
83 | \r | |
84 | form formid = NETWORK_DEVICE_FORM_ID,\r | |
85 | title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_TITLE);\r | |
86 | \r | |
87 | subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_STRING);\r | |
88 | \r | |
89 | label LABEL_NETWORK_DEVICE_ID;\r | |
90 | label LABEL_END;\r | |
91 | subtitle text = STRING_TOKEN(STR_EMPTY_STRING);\r | |
92 | subtitle text = STRING_TOKEN(STR_EXIT_STRING);\r | |
93 | endform;\r | |
5c08e117 | 94 | endformset;\r |
95 | \r |