]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Refine code for OemHookStatusCodeLibNull.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 May 2009 08:51:16 +0000 (08:51 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 May 2009 08:51:16 +0000 (08:51 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8255 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf

index 519d023ac33d6fe28459e4395f6c6b7138b6930a..dceaaa641dc486a93445b81a225e4e49a9406d49 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
-  OEM hook status code library functions with no library constructor/destructor\r
+  Null instance of OEM Hook Status Code Library with empty functions.\r
 \r
-  Copyright (c) 2006, Intel Corporation\r
+  Copyright (c) 2006 - 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
 \r
 \r
 /**\r
-\r
   Initialize OEM status code device .\r
 \r
-  @return     Always return EFI_SUCCESS.\r
+  @retval  EFI_SUCCESS   Always return EFI_SUCCESS.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -32,29 +31,20 @@ OemHookStatusCodeInitialize (
 /**\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
\r
+  @param  CodeType      Indicates the type of status code being reported.\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
-                        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
                         A system may contain multiple entities that match a class/subclass pairing. \r
                         The instance differentiates between them.  An instance of 0 indicates that instance information is unavailable, \r
                         not meaningful, or not relevant.  Valid instance numbers start with 1.\r
-\r
-\r
   @param  CallerId      This optional parameter may be used to identify the caller. \r
                         This parameter allows the status code driver to apply different rules to different callers. \r
-                        Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.\r
-\r
-\r
   @param  Data          This optional parameter may be used to pass additional data\r
  \r
-  @return               The function always return EFI_SUCCESS.\r
+  @retval EFI_SUCCESS   Always return EFI_SUCCESS.\r
 \r
 **/\r
 EFI_STATUS\r
index a845c9cd4c4bb270171277864de53b5c1e7ad6e2..c6ca7f658b5ee7f7f0b201253e9b4561ca98aad5 100644 (file)
@@ -1,7 +1,6 @@
 #/** @file\r
-#  Memory Status Code Library for UEFI drivers\r
+#  Null instance of OEM Hook Status Code Library with empty functions.\r
 #\r
-#  Lib to provide memory journal status code reporting Routines\r
 #  Copyright (c) 2006 - 2009, Intel Corporation.\r
 #\r
 #  All rights reserved. This program and the accompanying materials\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = OemHookStatusCodeLibNull\r
   FILE_GUID                      = 54D2878F-25CD-4a2b-8420-EBD18E609C76\r
-  MODULE_TYPE                    = PEIM\r
+  MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
   LIBRARY_CLASS                  = OemHookStatusCodeLib \r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
@@ -32,8 +30,6 @@
 [Sources.common]\r
   OemHookStatusCodeLibNull.c\r
 \r
-\r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r