]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/EdkOemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
1. Add the fix for the following Bugs:
[mirror_edk2.git] / EdkModulePkg / Library / EdkOemHookStatusCodeLibNull / OemHookStatusCodeLibNull.c
index 12988d01bac515803648524b4b4dc406b0071561..7816931e96136e84352f1df6e468934c3845c26f 100644 (file)
 \r
   Initialize OEM status code device .\r
 \r
+  @return     Always return EFI_SUCCESS.\r
+\r
 **/\r
-VOID\r
+EFI_STATUS\r
 EFIAPI\r
 OemHookStatusCodeInitialize (\r
   VOID\r
   )\r
 {\r
-  return;\r
+  return EFI_SUCCESS;\r
 }\r
 \r
 /**\r
   Report status code to OEM device.\r
  \r
-  @param  CodeType      Indicates the type of status code being reported.  Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions¡± below.\r
+  @param  CodeType      Indicates the type of status code being reported.  Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions" below.\r
  \r
   @param  Value         Describes the current status of a hardware or software entity.  \r
                         This included information about the class and subclass that is used to classify the entity \r
                         as well as an operation.  For progress codes, the operation is the current activity. \r
                         For error codes, it is the exception.  For debug codes, it is not defined at this time. \r
-                        Type EFI_STATUS_CODE_VALUE is defined in ¡°Related Definitions¡± below.  \r
+                        Type EFI_STATUS_CODE_VALUE is defined in "Related Definitions" below.  \r
                         Specific values are discussed in the Intel? Platform Innovation Framework for EFI Status Code Specification.\r
  \r
   @param  Instance      The enumeration of a hardware or software entity within the system.  \r
@@ -53,7 +55,7 @@ OemHookStatusCodeInitialize (
 \r
   @param  Data          This optional parameter may be used to pass additional data\r
  \r
-  @return               The function always return EFI_SUCCESS.\r
+  @return               The function always return EFI_UNSUPPORTED.\r
 \r
 **/\r
 EFI_STATUS\r