]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/DebugLib.h
wrap ASSERT_LOCKED macro with MDEPKG_NDEBUG.
[mirror_edk2.git] / MdePkg / Include / Library / DebugLib.h
index 836d807dcfe1bc17d1393356412a9a0e0367b0f7..bf38fd8bf573506f905f368c2ef2e60611b6212b 100644 (file)
@@ -4,11 +4,11 @@
   The Debug library supports debug print and asserts based on a combination of macros and code.\r
   The debug library can be turned on and off so that the debug code does not increase the size of an image.\r
 \r
-  Note that a MDEPKG_NDEBUG macro is introduced to switch on/off debug and assert related macros.\r
-  1. If MDEPKG_NDEBUG is defined, then debug and assert related macros are NULL.\r
-  2. If MDEPKG_NDEBUG is not defined, then PcdDebugProperyMask is used to turn on/off these helper macros.\r
+  Note that a reserved macro named MDEPKG_NDEBUG is introduced for the intention\r
+  of size reduction when compiler optimization is disabled. If MDEPKG_NDEBUG is\r
+  defined, then debug and assert related macros wrapped by it are the NULL implementations.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation<BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r