Hi, all
  This change requires all DebugLib instances to be updated by adding new API 
DebugPrintLevelEnabled(). The previous patches misses four library instances. I 
will append patches for them. 

Liming Gao (10):
  MdePkg: Add new FixedAtBuild PCD
  IntelFrameworkModulePkg: Update PeiDxeDebugLibReportStatusCode library
  MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib
  MdePkg: Add Help and Prompt for new PCD
  MdePkg: Update BaseDebugLibSerialPort library
  MdePkg: Update BaseDebugLibNull library
  MdePkg: Update BaseDebugLibConOut library
  MdePkg: Update BaseDebugLibStdErr library
  IntelFspPkg: Update BaseFspDebugLibSerialPort library
  OvmfPkg: Update PlatformBaseDebugLibIoPort library

 .../PeiDxeDebugLibReportStatusCode/DebugLib.c      |  20 ++++++++++++++-
 .../PeiDxeDebugLibReportStatusCode.inf             |   3 ++-
 .../BaseFspDebugLibSerialPort.inf                  |   1 +
 .../Library/BaseFspDebugLibSerialPort/DebugLib.c   |  20 ++++++++++++++-
 MdePkg/Include/Library/DebugLib.h                  |  28 +++++++++++++++++++--
 MdePkg/Library/BaseDebugLibNull/DebugLib.c         |  21 +++++++++++++++-
 .../BaseDebugLibSerialPort.inf                     |   3 ++-
 MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c   |  19 ++++++++++++++
 MdePkg/Library/UefiDebugLibConOut/DebugLib.c       |  20 ++++++++++++++-
 .../UefiDebugLibConOut/UefiDebugLibConOut.inf      |   3 ++-
 MdePkg/Library/UefiDebugLibStdErr/DebugLib.c       |  20 ++++++++++++++-
 .../UefiDebugLibStdErr/UefiDebugLibStdErr.inf      |   3 ++-
 MdePkg/MdePkg.dec                                  |  24 ++++++++++++++++++
 MdePkg/MdePkg.uni                                  | Bin 61242 -> 66564 bytes
 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c  |  19 +++++++++++++-
 .../PlatformDebugLibIoPort.inf                     |   3 ++-
 16 files changed, 194 insertions(+), 13 deletions(-)

-- 
1.9.0.msysgit.0

Thanks
Liming
-----Original Message-----
From: Gao, Liming 
Sent: Tuesday, January 13, 2015 3:09 PM
To: edk2-devel@lists.sourceforge.net
Cc: Gao, Liming
Subject: [edk2] [PATCH 0/6] Update MdePkg DebugLib for size optimization

Update DebugLib DEBUG() for build time size optimization based on DEBUG print 
error levels.
This change uses C marco __VA_ARGS__. We have verified it in VS and GCC tool 
chain. 

Liming Gao (6):
  MdePkg: Add new FixedAtBuild PCD
  IntelFrameworkModulePkg: Update PeiDxeDebugLibReportStatusCode library
  MdePkg: Add new API DebugPrintLevelEnabled() in DebugLib
  MdePkg: Add Help and Prompt for new PCD
  MdePkg: Update BaseDebugLibSerialPort library
  MdePkg: Update BaseDebugLibNull library

 .../PeiDxeDebugLibReportStatusCode/DebugLib.c      |  20 ++++++++++++++-
 .../PeiDxeDebugLibReportStatusCode.inf             |   3 ++-
 MdePkg/Include/Library/DebugLib.h                  |  28 +++++++++++++++++++--
 MdePkg/Library/BaseDebugLibNull/DebugLib.c         |  21 +++++++++++++++-
 .../BaseDebugLibSerialPort.inf                     |   3 ++-
 MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c   |  19 ++++++++++++++
 MdePkg/MdePkg.dec                                  |  26 ++++++++++++++++++-
 MdePkg/MdePkg.uni                                  | Bin 61242 -> 66564 bytes
 8 files changed, 113 insertions(+), 7 deletions(-)

-- 
1.9.0.msysgit.0


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to