]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h
Update all files to follow doxygen style file header.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / DeviceMngr / DeviceManager.h
CommitLineData
fd6a62f3 1/** @file\r
2 The platform device manager reference implement\r
93e3992d 3\r
fd6a62f3 4Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
93e3992d 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
fd6a62f3 13**/\r
93e3992d 14\r
15#ifndef _DEVICE_MANAGER_H\r
16#define _DEVICE_MANAGER_H\r
17\r
18#include "Bds.h"\r
19#include "FrontPage.h"\r
20\r
21//\r
22// These are defined as the same with vfr file\r
23//\r
24#define DEVICE_MANAGER_FORMSET_GUID \\r
25 { \\r
26 0x3ebfa8e6, 0x511d, 0x4b5b, {0xa9, 0x5f, 0xfb, 0x38, 0x26, 0xf, 0x1c, 0x27} \\r
27 }\r
28\r
29#define LABEL_VBIOS 0x0040\r
30\r
31#define DEVICE_MANAGER_FORM_ID 0x1000\r
32\r
33#define DEVICE_KEY_OFFSET 0x1000\r
34#define DEVICE_MANAGER_KEY_VBIOS 0x2000\r
35\r
36//\r
37// These are the VFR compiler generated data representing our VFR data.\r
38//\r
39extern UINT8 DeviceManagerVfrBin[];\r
40\r
41#define DEVICE_MANAGER_CALLBACK_DATA_SIGNATURE EFI_SIGNATURE_32 ('D', 'M', 'C', 'B')\r
42\r
43typedef struct {\r
44 UINTN Signature;\r
45\r
46 //\r
47 // HII relative handles\r
48 //\r
49 EFI_HII_HANDLE HiiHandle;\r
50 EFI_HANDLE DriverHandle;\r
51\r
52 //\r
53 // Produced protocols\r
54 //\r
55 EFI_HII_CONFIG_ACCESS_PROTOCOL ConfigAccess;\r
56\r
57 //\r
58 // Configuration data\r
59 //\r
60 UINT8 VideoBios;\r
61} DEVICE_MANAGER_CALLBACK_DATA;\r
62\r
63#define DEVICE_MANAGER_CALLBACK_DATA_FROM_THIS(a) \\r
64 CR (a, \\r
65 DEVICE_MANAGER_CALLBACK_DATA, \\r
66 ConfigAccess, \\r
67 DEVICE_MANAGER_CALLBACK_DATA_SIGNATURE \\r
68 )\r
69\r
70typedef struct {\r
71 EFI_STRING_ID StringId;\r
72 UINT16 Class;\r
73} DEVICE_MANAGER_MENU_ITEM;\r
74\r
75EFI_STATUS\r
76EFIAPI\r
77DeviceManagerCallback (\r
78 IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,\r
79 IN EFI_BROWSER_ACTION Action,\r
80 IN EFI_QUESTION_ID QuestionId,\r
81 IN UINT8 Type,\r
82 IN EFI_IFR_TYPE_VALUE *Value,\r
83 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest\r
84 )\r
85;\r
86\r
87EFI_STATUS\r
88InitializeDeviceManager (\r
89 VOID\r
90 )\r
91;\r
92\r
93EFI_STATUS\r
94CallDeviceManager (\r
95 VOID\r
96 )\r
97;\r
98\r
99#endif\r