]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Hand/Handle.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Hand / Handle.h
index af3ae54f66838b2293242ad852179dc79e807cc0..83eb2b9f3afee2cac069cacbaeebdbe9314e6666 100644 (file)
@@ -1,14 +1,8 @@
 /** @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
@@ -26,7 +20,7 @@ typedef struct {
   /// 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
@@ -44,13 +38,13 @@ typedef struct {
 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
@@ -63,17 +57,17 @@ typedef struct {
 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
@@ -83,7 +77,7 @@ typedef struct {
 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
@@ -101,11 +95,11 @@ typedef struct {
   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