summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/EdkDxePrintLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/EdkDxePrintLib')
-rw-r--r--MdeModulePkg/Library/EdkDxePrintLib/EdkDxePrintLib.inf2
-rw-r--r--MdeModulePkg/Library/EdkDxePrintLib/PrintLib.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/EdkDxePrintLib/EdkDxePrintLib.inf b/MdeModulePkg/Library/EdkDxePrintLib/EdkDxePrintLib.inf
index 78f5ea5..11c7337 100644
--- a/MdeModulePkg/Library/EdkDxePrintLib/EdkDxePrintLib.inf
+++ b/MdeModulePkg/Library/EdkDxePrintLib/EdkDxePrintLib.inf
@@ -45,5 +45,5 @@
[Protocols]
- gEfiPrintProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiPrint2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
diff --git a/MdeModulePkg/Library/EdkDxePrintLib/PrintLib.c b/MdeModulePkg/Library/EdkDxePrintLib/PrintLib.c
index 2281115..1659327 100644
--- a/MdeModulePkg/Library/EdkDxePrintLib/PrintLib.c
+++ b/MdeModulePkg/Library/EdkDxePrintLib/PrintLib.c
@@ -18,12 +18,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Uefi.h>
-#include <Protocol/Print.h>
+#include <Protocol/Print2.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
-static EFI_PRINT_PROTOCOL *gPrintProtocol = NULL;
+static EFI_PRINT2_PROTOCOL *gPrintProtocol = NULL;
EFI_STATUS
EFIAPI
@@ -34,7 +34,7 @@ InternalLocatePrintProtocol (
if (gPrintProtocol == NULL) {
Status = gBS->LocateProtocol (
- &gEfiPrintProtocolGuid,
+ &gEfiPrint2ProtocolGuid,
NULL,
(VOID **)&gPrintProtocol
);