/** @file\r
Support functions for managing protocol.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
/// All handles list of IHANDLE\r
LIST_ENTRY AllHandles;\r
/// List of PROTOCOL_INTERFACE's for this handle\r
- LIST_ENTRY Protocols; \r
+ LIST_ENTRY Protocols;\r
UINTN LocateRequest;\r
/// The Handle Database Key value when this handle was last created or modified\r
UINT64 Key;\r
typedef struct {\r
UINTN Signature;\r
/// Link Entry inserted to mProtocolDatabase\r
- LIST_ENTRY AllEntries; \r
+ LIST_ENTRY AllEntries;\r
/// ID of the protocol\r
- EFI_GUID ProtocolID; \r
+ EFI_GUID ProtocolID;\r
/// All protocol interfaces\r
- LIST_ENTRY Protocols; \r
+ LIST_ENTRY Protocols;\r
/// Registerd notification handlers\r
- LIST_ENTRY Notify; \r
+ LIST_ENTRY Notify;\r
} PROTOCOL_ENTRY;\r
\r
\r
typedef struct {\r
UINTN Signature;\r
/// Link on IHANDLE.Protocols\r
- LIST_ENTRY Link; \r
+ LIST_ENTRY Link;\r
/// Back pointer\r
- IHANDLE *Handle; \r
+ IHANDLE *Handle;\r
/// Link on PROTOCOL_ENTRY.Protocols\r
- LIST_ENTRY ByProtocol; \r
+ LIST_ENTRY ByProtocol;\r
/// The protocol ID\r
- PROTOCOL_ENTRY *Protocol; \r
+ PROTOCOL_ENTRY *Protocol;\r
/// The interface value\r
- VOID *Interface; \r
+ VOID *Interface;\r
/// OPEN_PROTOCOL_DATA list\r
- LIST_ENTRY OpenList; \r
+ LIST_ENTRY OpenList;\r
UINTN OpenListCount;\r
\r
} PROTOCOL_INTERFACE;\r
typedef struct {\r
UINTN Signature;\r
///Link on PROTOCOL_INTERFACE.OpenList\r
- LIST_ENTRY Link; \r
+ LIST_ENTRY Link;\r
\r
EFI_HANDLE AgentHandle;\r
EFI_HANDLE ControllerHandle;\r
UINTN Signature;\r
PROTOCOL_ENTRY *Protocol;\r
/// All notifications for this protocol\r
- LIST_ENTRY Link; \r
+ LIST_ENTRY Link;\r
/// Event to notify\r
- EFI_EVENT Event; \r
+ EFI_EVENT Event;\r
/// Last position notified\r
- LIST_ENTRY *Position; \r
+ LIST_ENTRY *Position;\r
} PROTOCOL_NOTIFY;\r
\r
\r