Remove unnecessary use of gEfiStatusCodeSpecificDataGuid and sync algorithm with NT32 OEM Hook Status Code Lib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8430 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2009-06-01 20:15:20 +00:00
parent 8b35a9caa4
commit cdf360f8e4
4 changed files with 0 additions and 34 deletions

View File

@ -51,11 +51,6 @@
HobLib
DebugLib
[Guids]
gEfiStatusCodeSpecificDataGuid # ALWAYS_CONSUMED
[Protocols]
gEfiUnixThunkProtocolGuid # PROTOCOL ALWAYS_CONSUMED

View File

@ -112,7 +112,6 @@ OemHookStatusCodeReport (
UINT32 LineNumber;
UINTN CharCount;
BASE_LIST Marker;
EFI_DEBUG_INFO *DebugInfo;
Buffer[0] = '\0';
@ -152,17 +151,6 @@ OemHookStatusCodeReport (
Format,
Marker
);
} else if (Data != NULL &&
CompareGuid (&Data->Type, &gEfiStatusCodeSpecificDataGuid) &&
(CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) {
//
// Print specific data into output buffer.
//
DebugInfo = (EFI_DEBUG_INFO *) (Data + 1);
Marker = (BASE_LIST) (DebugInfo + 1);
Format = (CHAR8 *) (((UINT64 *) Marker) + 12);
CharCount = AsciiBSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker);
} else if ((CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_ERROR_CODE) {
//
// Print ERROR information into output buffer.

View File

@ -51,11 +51,6 @@
PrintLib
DebugLib
[Guids]
gEfiStatusCodeSpecificDataGuid # ALWAYS_CONSUMED
[Ppis]
gPeiUnixThunkPpiGuid # PPI ALWAYS_CONSUMED

View File

@ -120,7 +120,6 @@ OemHookStatusCodeReport (
UINT32 LineNumber;
UINTN CharCount;
BASE_LIST Marker;
EFI_DEBUG_INFO *DebugInfo;
Buffer[0] = '\0';
@ -160,17 +159,6 @@ OemHookStatusCodeReport (
Format,
Marker
);
} else if (Data != NULL &&
CompareGuid (&Data->Type, &gEfiStatusCodeSpecificDataGuid) &&
(CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) {
//
// Print specific data into output buffer.
//
DebugInfo = (EFI_DEBUG_INFO *) (Data + 1);
Marker = (BASE_LIST) (DebugInfo + 1);
Format = (CHAR8 *) (((UINT64 *) Marker) + 12);
CharCount = AsciiBSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker);
} else if ((CodeType & EFI_STATUS_CODE_TYPE_MASK) == EFI_ERROR_CODE) {
//
// Print ERROR information into output buffer.