]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status code...
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Dec 2008 07:10:27 +0000 (07:10 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 18 Dec 2008 07:10:27 +0000 (07:10 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7076 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf

index 30e10a53e8939d249f7f82236604cd87faa7d2e5..576f7b59a8486f03496afb047f219da01c431f2b 100644 (file)
@@ -51,9 +51,5 @@
   HobLib\r
   DebugLib\r
 \r
-\r
-[Guids]\r
-  gEfiStatusCodeSpecificDataGuid                # ALWAYS_CONSUMED\r
-\r
 [Protocols]\r
   gEfiWinNtThunkProtocolGuid                    # ALWAYS_CONSUMED\r
index 7d5f4ec565e8732bc0c50901bed37e5dac8afdd5..24f154ca157a8cc73a6b478d2b87d71e991fa6f7 100644 (file)
@@ -20,7 +20,6 @@
 #include <FrameworkDxe.h>\r
 #include <FrameworkModuleDxe.h>\r
 #include <WinNtDxe.h>\r
-#include <DebugInfo.h>\r
 \r
 //\r
 // The protocols, PPI and GUID defintions for this module\r
@@ -124,7 +123,6 @@ OemHookStatusCodeReport (
   UINT32          LineNumber;\r
   UINTN           CharCount;\r
   VA_LIST         Marker;\r
-  EFI_DEBUG_INFO  *DebugInfo;\r
 \r
   Buffer[0] = '\0';\r
 \r
@@ -166,17 +164,6 @@ OemHookStatusCodeReport (
                   Format,\r
                   Marker\r
                   );\r
-  } else if (Data != NULL &&\r
-             CompareGuid (&Data->Type, &gEfiStatusCodeSpecificDataGuid) &&\r
-             (CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) {\r
-    //\r
-    // Print specific data into output buffer.\r
-    //\r
-    DebugInfo = (EFI_DEBUG_INFO *) (Data + 1);\r
-    Marker    = (VA_LIST) (DebugInfo + 1);\r
-    Format    = (CHAR8 *) (((UINT64 *) Marker) + 12);\r
-\r
-    CharCount = AsciiVSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker);\r
   } else if ((CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_ERROR_CODE) {\r
     //\r
     // Print ERROR information into output buffer.\r
index 689e05278a35a85fca1221c7a327b919d9ddd835..a7d68410ba62d20c567f40822f1fca7d7872b629 100644 (file)
@@ -35,7 +35,6 @@
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/ReportStatusCodeLib.h>\r
 #include <Library/PeiServicesLib.h>\r
-#include <DebugInfo.h>\r
 \r
 //\r
 // Cache of WinNtThunk protocol\r
@@ -133,7 +132,6 @@ OemHookStatusCodeReport (
   UINT32          LineNumber;\r
   UINTN           CharCount;\r
   VA_LIST         Marker;\r
-  EFI_DEBUG_INFO  *DebugInfo;\r
 \r
   Buffer[0] = '\0';\r
 \r
@@ -175,17 +173,6 @@ OemHookStatusCodeReport (
                   Format,\r
                   Marker\r
                   );\r
-  } else if (Data != NULL &&\r
-             CompareGuid (&Data->Type, &gEfiStatusCodeSpecificDataGuid) &&\r
-             (CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) {\r
-    //\r
-    // Print specific data into output buffer.\r
-    //\r
-    DebugInfo = (EFI_DEBUG_INFO *) (Data + 1);\r
-    Marker    = (VA_LIST) (DebugInfo + 1);\r
-    Format    = (CHAR8 *) (((UINT64 *) Marker) + 12);\r
-\r
-    CharCount = AsciiVSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker);\r
   } else if ((CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_ERROR_CODE) {\r
     //\r
     // Print ERROR information into output buffer.\r
index 54b3d0a809c9657aa6613d00d83a0dec9b0ab260..090e536a50dfeab1bb781e599985b87a7cf63747 100644 (file)
   PrintLib\r
   DebugLib\r
 \r
-\r
-[Guids]\r
-  gEfiStatusCodeSpecificDataGuid                # SOMETIMES_CONSUMED\r
-\r
-\r
 [Ppis]\r
   gPeiNtThunkPpiGuid                            # PPI ALWAYS_CONSUMED\r
 \r