]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /** @file\r |
2 | UEFI Driver Model Library Services\r | |
3 | \r | |
4 | Copyright (c) 2006, Intel Corporation \r | |
5 | All rights reserved. This program and the accompanying materials \r | |
6 | are licensed and made available under the terms and conditions of the BSD License \r | |
7 | which accompanies this distribution. The full text of the license may be found at \r | |
8 | http://opensource.org/licenses/bsd-license.php \r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
12 | \r | |
13 | Module Name: UefiDriverModelLib.h\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __UEFI_DRIVER_MODEL_LIB_H__\r | |
18 | #define __UEFI_DRIVER_MODEL_LIB_H__\r | |
19 | \r | |
20 | //\r | |
21 | // Declare bitmask values for the protocols that are enabled \r | |
22 | //\r | |
23 | #define UEFI_DRIVER_MODEL_LIBRARY_COMPONENT_NAME_PROTOCOL_ENABLED 0x01\r | |
24 | #define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_DIAGNOSTICS_PROTOCOL_ENABLED 0x02\r | |
25 | #define UEFI_DRIVER_MODEL_LIBRARY_DRIVER_CONFIGURATION_PROTOCOL_ENABLED 0x04\r | |
26 | \r | |
27 | //\r | |
28 | // \r | |
29 | //\r | |
30 | extern const UINT8 _gDriverModelProtocolBitmask;\r | |
31 | \r | |
32 | //\r | |
33 | //\r | |
34 | //\r | |
35 | typedef struct {\r | |
36 | const EFI_DRIVER_BINDING_PROTOCOL *DriverBinding;\r | |
37 | const EFI_COMPONENT_NAME_PROTOCOL *ComponentName;\r | |
38 | const EFI_DRIVER_CONFIGURATION_PROTOCOL *DriverConfiguration;\r | |
39 | const EFI_DRIVER_DIAGNOSTICS_PROTOCOL *DriverDiagnostics;\r | |
40 | } EFI_DRIVER_MODEL_PROTOCOL_LIST;\r | |
41 | \r | |
42 | //\r | |
43 | //\r | |
44 | //\r | |
45 | extern const UINTN _gDriverModelProtocolListEntries;\r | |
46 | extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[];\r | |
47 | \r | |
48 | #endif\r |