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