diff options
| author | Hao Wu <hao.a.wu@intel.com> | 2017-02-13 06:03:30 +0300 |
|---|---|---|
| committer | Hao Wu <hao.a.wu@intel.com> | 2017-03-02 04:59:06 +0300 |
| commit | da1204cd3f66d2d3c6cf2a45a02871642dcaa6f0 (patch) | |
| tree | 435aba10c96586950bed7941b311b81b4f6ccbd7 /BaseTools/Source/Python/Workspace/MetaFileTable.py | |
| parent | 91db774bf4b33e1bf07f2f1aded5fd79c6f27c44 (diff) | |
| download | edk2-da1204cd3f66d2d3c6cf2a45a02871642dcaa6f0.tar.xz | |
MdeModulePkg/PrintDxe: Handle the deprecation of [A|U]ValueToString
To handle the deprecation of PrintLib APIs UnicodeValueToString and
AsciiValueToString by subsequent commits, the commit refines the logic for
the implemetation of the UnicodeValueToString and AsciiValueToString
services in EFI_PRINT2_PROTOCOL.
When the macro DISABLE_NEW_DEPRECATED_INTERFACES is defined (indicating
the deprecation of the PrintLib APIs), the above two services will ASSERT
and will return zero to reflect not being supported.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions
