]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Library/UefiDriverModelLib.h
• BaseMemoryLib:
[mirror_edk2.git] / MdePkg / Include / Library / UefiDriverModelLib.h
CommitLineData
878ddf1f 1/** @file\r
24e25d11 2 UEFI Driver Model Library Services\r
878ddf1f 3\r
24e25d11 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
878ddf1f 9\r
24e25d11 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
878ddf1f 12\r
24e25d11 13 Module Name: UefiDriverModelLib.h\r
878ddf1f 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
30extern const UINT8 _gDriverModelProtocolBitmask;\r
31\r
32//\r
33//\r
34//\r
35typedef 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
45extern const UINTN _gDriverModelProtocolListEntries;\r
46extern const EFI_DRIVER_MODEL_PROTOCOL_LIST _gDriverModelProtocolList[];\r
47\r
48#endif\r