3 // Device Manager formset.
5 // Copyright (c) 2004 - 2008, Intel Corporation. <BR>
6 // All rights reserved. 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
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.
16 #define FORMSET_GUID { 0x3ebfa8e6, 0x511d, 0x4b5b, 0xa9, 0x5f, 0xfb, 0x38, 0x26, 0xf, 0x1c, 0x27 }
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
26 #define LABEL_DEVICES_LIST 0x0080
27 #define LABEL_END 0xffff
29 #define DEVICE_MANAGER_CLASS 0x0000
30 #define FRONT_PAGE_SUBCLASS 0x0003
32 #define DEVICE_MANAGER_FORM_ID 0x1000
36 title = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE),
37 help = STRING_TOKEN(STR_EMPTY_STRING),
38 classguid = FORMSET_GUID,
39 class = DEVICE_MANAGER_CLASS,
40 subclass = FRONT_PAGE_SUBCLASS,
42 form formid = DEVICE_MANAGER_FORM_ID,
43 title = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE);
46 // This is where devices get added to the device manager hierarchy
48 label EFI_DISK_DEVICE_CLASS;
49 // label LABEL_END; // Since next opcode is a label, so this one could be omitted to save code size
51 label EFI_VIDEO_DEVICE_CLASS;
54 label EFI_NETWORK_DEVICE_CLASS;
57 label EFI_INPUT_DEVICE_CLASS;
60 label EFI_ON_BOARD_DEVICE_CLASS;
63 // label EFI_OTHER_DEVICE_CLASS;
65 label LABEL_DEVICES_LIST;
68 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
73 subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
74 subtitle text = STRING_TOKEN(STR_EXIT_STRING);