diff options
author | Liming Gao <liming.gao@intel.com> | 2015-12-15 13:19:32 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-12-15 13:19:32 +0000 |
commit | 2def2a6c41624a8c02cbb2c438744313a4d6d3cf (patch) | |
tree | 5cc10b48186a5cf5813bb3bf30e020cfe6454c9f /MdePkg | |
parent | dcf73c32bf8ea9307c148f672fcef0dbcb05aff6 (diff) | |
download | edk2-platforms-2def2a6c41624a8c02cbb2c438744313a4d6d3cf.tar.xz |
MdePkg: Correct Protocol usages in UefiDebugLibDebugPortProtocol
(Sync patch r18415 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19277 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c | 1 | ||||
-rw-r--r-- | MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c index fdad2f5556..10d3e347cc 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c @@ -327,3 +327,4 @@ DebugPrintLevelEnabled ( {
return (BOOLEAN) ((ErrorLevel & PcdGet32(PcdFixedDebugPrintErrorLevel)) != 0);
}
+
diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf b/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf index 11c7e815b8..0f18c27a11 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf @@ -48,7 +48,7 @@ DebugPrintErrorLevelLib
[Protocols]
- gEfiDebugPortProtocolGuid ## UNDEFINED
+ gEfiDebugPortProtocolGuid ## CONSUMES
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
|