From: qhuang8 Date: Wed, 18 Feb 2009 05:45:44 +0000 (+0000) Subject: Revert some code that was checked in by mistake X-Git-Tag: edk2-stable201903~18711 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e8f3f94ea9ab02656317009ec286d3aeb057ff90 Revert some code that was checked in by mistake git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7539 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Library/ReportStatusCodeLib.h b/MdePkg/Include/Library/ReportStatusCodeLib.h index c2bf9e17fb..fe0f67cf19 100644 --- a/MdePkg/Include/Library/ReportStatusCodeLib.h +++ b/MdePkg/Include/Library/ReportStatusCodeLib.h @@ -366,21 +366,7 @@ ReportDebugCodeEnabled ( VOID ); -#ifndef NDEBUG -#if 0 -//#if __INTEL_COMPILER -#define REPORT_STATUS_CODE(Type,Value) ReportStatusCode(Type,Value) -#define REPORT_STATUS_CODE_WITH_DEVICE_PATH(Type,Value,DevicePathParameter) \ - ReportStatusCodeWithDevicePath(Type,Value,DevicePathParameter) - -#define REPORT_STATUS_CODE_WITH_EXTENDED_DATA(Type,Value,ExtendedData,ExtendedDataSize) \ - ReportStatusCodeWithExtendedData(Type,Value,ExtendedData,ExtendedDataSize) - -#define REPORT_STATUS_CODE_EX(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) \ - ReportStatusCodeEx(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) - -#else /** Reports a status code with minimal parameters if the status code type is enabled. @@ -505,13 +491,5 @@ ReportDebugCodeEnabled ( (ReportDebugCodeEnabled() && ((Type) & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) ? \ ReportStatusCodeEx(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) : \ EFI_UNSUPPORTED -#endif - -#else -#define REPORT_STATUS_CODE(Type,Value) EFI_UNSUPPORTED -#define REPORT_STATUS_CODE_WITH_DEVICE_PATH(Type,Value,DevicePathParameter) EFI_UNSUPPORTED -#define REPORT_STATUS_CODE_WITH_EXTENDED_DATA(Type,Value,ExtendedData,ExtendedDataSize) EFI_UNSUPPORTED -#define REPORT_STATUS_CODE_EX(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) EFI_UNSUPPORTED -#endif #endif