]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib
authorLiming Gao <liming.gao@intel.com>
Fri, 6 Feb 2015 06:33:29 +0000 (06:33 +0000)
committerlgao4 <lgao4@Edk2>
Fri, 6 Feb 2015 06:33:29 +0000 (06:33 +0000)
commit5ea9d0c352ffd7412f60ff7eea30b202ce97956f
tree307d2b470b7edb9179eb4c1a2b3d8cd340a26abd
parent30aba8d3345455b27f3a16ba4f82bff510c747e4
MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib

This API is applied in _DEBUG_PRINT() macro for build time size optimization.
DebugLib library instance should implement this API to return the constant value.
DEBUG_PRINT() will base on __VA_ARGS__ for build time size optimization.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16787 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/DebugLib.h