]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/StatusCode.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / StatusCode.h
index 06c4255587f79aca2589fc3cdb8fbccaf8c8d519..265453a75888f61ffd88f20449eb462777acc100 100644 (file)
@@ -1,25 +1,8 @@
 /** @file\r
-  Status code Runtime Protocol as defined in the DXE CIS\r
+  Status code Runtime Protocol as defined in PI Specification 1.4a VOLUME 2 DXE\r
 \r
-  The StatusCode () Tiano service is added to the EFI system table and the \r
-  EFI_STATUS_CODE_ARCH_PROTOCOL_GUID protocol is registered with a NULL \r
-  pointer.\r
-\r
-  No CRC of the EFI system table is required, as it is done in the DXE core.\r
-\r
-  This code abstracts Status Code reporting.\r
-\r
-  Copyright (c) 2006, 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
-\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
-\r
-  @par Revision Reference:\r
-  Version 0.91B.\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -48,8 +31,8 @@
 \r
 **/\r
 typedef\r
-EFI_STATUS \r
-(EFIAPI *EFI_REPORT_STATUS_CODE) (\r
+EFI_STATUS\r
+(EFIAPI *EFI_REPORT_STATUS_CODE)(\r
   IN EFI_STATUS_CODE_TYPE     Type,\r
   IN EFI_STATUS_CODE_VALUE    Value,\r
   IN UINT32                   Instance,\r
@@ -57,15 +40,10 @@ EFI_STATUS
   IN EFI_STATUS_CODE_DATA     *Data      OPTIONAL\r
   );\r
 \r
-/**\r
-  @par Protocol Description:\r
-  Provides the service required to report a status code to the platform firmware.\r
-  This protocol must be produced by a runtime DXE driver and may be consumed \r
-  only by the DXE Foundation.\r
-\r
-  @param  ReportStatusCode Emit a status code.\r
-\r
-**/\r
+///\r
+/// Provides the service required to report a status code to the platform firmware.\r
+/// This protocol must be produced by a runtime DXE driver.\r
+///\r
 typedef struct _EFI_STATUS_CODE_PROTOCOL {\r
   EFI_REPORT_STATUS_CODE         ReportStatusCode;\r
 } EFI_STATUS_CODE_PROTOCOL;\r