]>
Commit | Line | Data |
---|---|---|
52657feb | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name: \r | |
13 | \r | |
14 | DeviceManager.c\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | The platform device manager reference implement\r | |
19 | \r | |
20 | Revision History\r | |
21 | \r | |
22 | --*/\r | |
23 | \r | |
24 | #ifndef _DEVICE_MANAGER_H\r | |
25 | #define _DEVICE_MANAGER_H\r | |
26 | \r | |
27 | #include "FrontPage.h"\r | |
28 | \r | |
29 | #define EFI_NON_DEVICE_CLASS 0x00 // Useful when you do not want something in the Device Manager\r | |
30 | #define EFI_DISK_DEVICE_CLASS 0x01\r | |
31 | #define EFI_VIDEO_DEVICE_CLASS 0x02\r | |
32 | #define EFI_NETWORK_DEVICE_CLASS 0x04\r | |
33 | #define EFI_INPUT_DEVICE_CLASS 0x08\r | |
34 | #define EFI_ON_BOARD_DEVICE_CLASS 0x10\r | |
35 | #define EFI_OTHER_DEVICE_CLASS 0x20\r | |
36 | \r | |
37 | EFI_STATUS\r | |
38 | EFIAPI\r | |
39 | DeviceManagerCallbackRoutine (\r | |
40 | IN EFI_FORM_CALLBACK_PROTOCOL *This,\r | |
41 | IN UINT16 KeyValue,\r | |
42 | IN EFI_IFR_DATA_ARRAY *DataArray,\r | |
43 | OUT EFI_HII_CALLBACK_PACKET **Packet\r | |
44 | )\r | |
45 | ;\r | |
46 | \r | |
47 | EFI_STATUS\r | |
48 | InitializeDeviceManager (\r | |
49 | VOID\r | |
50 | )\r | |
51 | ;\r | |
52 | \r | |
53 | EFI_STATUS\r | |
54 | CallDeviceManager (\r | |
55 | VOID\r | |
56 | )\r | |
57 | ;\r | |
58 | \r | |
59 | #endif\r |