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