mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
367573d3d8
commit
e8f3f94ea9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue