From 5a169fca4748255be54d19a1cde755ee5730262c Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 15 Mar 2012 15:27:18 +0000 Subject: MdeModulePkg/DebugPortDxe: Fixed the ordering of the EFI_DEBUGPORT_PROTOCOL entries The DebugPortRead and DebugPortWrite entries are reversed in the initialization of the EFI_DEBUGPORT_PROTOCOL structure (compare to the EFI_DEBUGPORT_PROTOCOL definition and the UEFI spec). Signed-off-by: oliviermartin Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13102 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DebugPortDxe/DebugPort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c index 76c77b6a25..2616299df7 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.c @@ -37,8 +37,8 @@ DEBUGPORT_DEVICE mDebugPortDevice = { (EFI_DEVICE_PATH_PROTOCOL *) NULL, { DebugPortReset, - DebugPortRead, DebugPortWrite, + DebugPortRead, DebugPortPoll }, (EFI_HANDLE) 0, -- cgit v1.2.3