]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / ReportStatusCodeRouter / Pei / ReportStatusCodeRouterPei.c
index 8a2dc8a9bdc5ebbaa759518c00c32651743234f3..3871418b604aa3d969c5474e0d5111dfe4748aa0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Report Status Code Router PEIM which produces Report Stataus Code Handler PPI and Status Code PPI.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
   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
@@ -71,19 +71,19 @@ CreateRscHandlerCallbackPacket (
 \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 can't be registered again.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -127,7 +127,7 @@ Register (
         //\r
         // If the total number of handlers in current packet is max value 64,\r
         // search an entry with NULL pointer and fill new handler into this entry.\r
-        //  \r
+        //\r
         FreePacket = NumberOfEntries;\r
         FreeEntryIndex = Index;\r
       }\r
@@ -142,7 +142,7 @@ Register (
 \r
   CallbackEntry = (EFI_PEI_RSC_HANDLER_CALLBACK *) (FreePacket + 1);\r
   CallbackEntry[FreeEntryIndex] = Callback;\r
-  \r
+\r
   if (*FreePacket == FreeEntryIndex) {\r
     //\r
     // If new registered callback is added as a new entry in the packet,\r
@@ -156,16 +156,16 @@ Register (
 \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
 EFI_STATUS\r
 EFIAPI\r
@@ -269,7 +269,7 @@ ReportDispatcher (
 \r
 /**\r
   Entry point of Status Code PEIM.\r
-  \r
+\r
   This function is the entry point of this Status Code Router PEIM.\r
   It produces Report Stataus Code Handler PPI and Status Code PPI.\r
 \r