]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/DebugPortDxe: Fixed the ordering of the EFI_DEBUGPORT_PROTOCOL entries
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 15 Mar 2012 15:27:18 +0000 (15:27 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 15 Mar 2012 15:27:18 +0000 (15:27 +0000)
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

index 76c77b6a25d1bbe3245dc32048bb3d4e918b831d..2616299df7d48c21a71a608dbb93cf61828b15c2 100644 (file)
@@ -37,8 +37,8 @@ DEBUGPORT_DEVICE mDebugPortDevice = {
   (EFI_DEVICE_PATH_PROTOCOL *) NULL,\r
   {\r
     DebugPortReset,\r
-    DebugPortRead,\r
     DebugPortWrite,\r
+    DebugPortRead,\r
     DebugPortPoll\r
   },\r
   (EFI_HANDLE) 0,\r