1///** @file
2//
3//    Device Manager formset.
4//
5//  Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
6//  SPDX-License-Identifier: BSD-2-Clause-Patent
7//
8//**/
9
10#include "DeviceManagerVfr.h"
11
12#define EFI_DISK_DEVICE_CLASS              0x0001
13#define EFI_VIDEO_DEVICE_CLASS             0x0002
14#define EFI_NETWORK_DEVICE_CLASS           0x0004
15#define EFI_INPUT_DEVICE_CLASS             0x0008
16#define EFI_ON_BOARD_DEVICE_CLASS          0x0010
17#define EFI_OTHER_DEVICE_CLASS             0x0020
18
19#define DEVICE_MANAGER_CLASS               0x0000
20#define FRONT_PAGE_SUBCLASS                0x0003
21
22formset
23  guid      = DEVICE_MANAGER_FORMSET_GUID,
24  title     = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE),
25  help      = STRING_TOKEN(STR_EMPTY_STRING),
26  classguid = DEVICE_MANAGER_FORMSET_GUID,
27
28  form formid = DEVICE_MANAGER_FORM_ID,
29       title  = STRING_TOKEN(STR_DEVICE_MANAGER_TITLE);
30
31    subtitle text = STRING_TOKEN(STR_DEVICES_LIST);
32    //
33    // This is where devices get added to the device manager hierarchy
34    //
35    label EFI_DISK_DEVICE_CLASS;
36//    label LABEL_END;  // Since next opcode is a label, so this one could be omitted to save code size
37
38    label EFI_VIDEO_DEVICE_CLASS;
39//    label LABEL_END;
40
41    label EFI_NETWORK_DEVICE_CLASS;
42//    label LABEL_END;
43
44    label EFI_INPUT_DEVICE_CLASS;
45//    label LABEL_END;
46
47    label EFI_ON_BOARD_DEVICE_CLASS;
48//    label LABEL_END;
49
50//    label EFI_OTHER_DEVICE_CLASS;
51
52    label LABEL_DEVICES_LIST;
53    label LABEL_END;
54
55    subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
56
57    label LABEL_VBIOS;
58    label LABEL_END;
59
60    subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
61    subtitle text = STRING_TOKEN(STR_EXIT_STRING);
62
63  endform;
64
65  form formid = NETWORK_DEVICE_LIST_FORM_ID,
66       title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_LIST_TITLE);
67
68    subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_LIST_STRING);
69
70       label LABEL_NETWORK_DEVICE_LIST_ID;
71       label LABEL_END;
72       subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
73    subtitle text = STRING_TOKEN(STR_EXIT_STRING);
74  endform;
75
76  form formid = NETWORK_DEVICE_FORM_ID,
77       title = STRING_TOKEN(STR_FORM_NETWORK_DEVICE_TITLE);
78
79    subtitle text = STRING_TOKEN(STR_NETWORK_DEVICE_STRING);
80
81       label LABEL_NETWORK_DEVICE_ID;
82       label LABEL_END;
83       subtitle text = STRING_TOKEN(STR_EMPTY_STRING);
84    subtitle text = STRING_TOKEN(STR_EXIT_STRING);
85  endform;
86endformset;
87
88