summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-15 15:27:18 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-15 15:27:18 +0000
commit5a169fca4748255be54d19a1cde755ee5730262c (patch)
treeb80101e0e165da3e9b712179e84186bed668cf0b
parent187cb3dd8d665619ff489ad8a8dc58c6aeab5aec (diff)
downloadedk2-platforms-5a169fca4748255be54d19a1cde755ee5730262c.tar.xz
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
-rw-r--r--MdeModulePkg/Universal/DebugPortDxe/DebugPort.c2
1 files changed, 1 insertions, 1 deletions
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,