]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ppi/ReportStatusCodeHandler.h
MdePkg/Spdm: fix Nonce structure error.
[mirror_edk2.git] / MdePkg / Include / Ppi / ReportStatusCodeHandler.h
index 94dd162b5700bb6c4f9ff71c49dde47954d8ef94..5dfb705bde20a4705149da49b77f88ea0d1a2d1d 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
-  This ppi provide registering and unregistering services to status code consumers.\r
-  \r
-  Copyright (c) 2007 - 2009, Intel Corporation\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
+  This PPI provides registering and unregistering services to status code consumers.\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) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -17,8 +11,7 @@
 \r
 #define EFI_PEI_RSC_HANDLER_PPI_GUID \\r
   { \\r
-    0x65d394, 0x9951, 0x4144, \\r
-    0x82, 0xa3, 0xa, 0xfc, 0x85, 0x79, 0xc2, 0x51 \\r
+    0x65d394, 0x9951, 0x4144, {0x82, 0xa3, 0xa, 0xfc, 0x85, 0x79, 0xc2, 0x51} \\r
   }\r
 \r
 typedef\r
@@ -34,19 +27,19 @@ EFI_STATUS
 \r
 /**\r
   Register the callback function for ReportStatusCode() notification.\r
-  \r
+\r
   When this function is called the function pointer is added to an internal list and any future calls to\r
   ReportStatusCode() will be forwarded to the Callback function.\r
 \r
   @param[in] Callback           A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called\r
                                 when a call to ReportStatusCode() occurs.\r
-                        \r
+\r
   @retval EFI_SUCCESS           Function was successfully registered.\r
   @retval EFI_INVALID_PARAMETER The callback function was NULL.\r
   @retval EFI_OUT_OF_RESOURCES  The internal buffer ran out of space. No more functions can be\r
                                 registered.\r
-  @retval EFI_ALREADY_STARTED   The function was already registered. It cant be registered again.\r
-                        \r
+  @retval EFI_ALREADY_STARTED   The function was already registered. It can't be registered again.\r
+\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -56,16 +49,16 @@ EFI_STATUS
 \r
 /**\r
   Remove a previously registered callback function from the notification list.\r
-  \r
+\r
   ReportStatusCode() messages will no longer be forwarded to the Callback function.\r
-  \r
+\r
   @param[in] Callback           A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be\r
                                 unregistered.\r
 \r
   @retval EFI_SUCCESS           The function was successfully unregistered.\r
   @retval EFI_INVALID_PARAMETER The callback function was NULL.\r
   @retval EFI_NOT_FOUND         The callback function was not found to be unregistered.\r
-                        \r
+\r
 **/\r
 typedef\r
 EFI_STATUS\r