]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c
IntelFrameworkModulePkg/LegacyBios: Fix legacy serial redirection bug
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 8 Nov 2016 02:25:46 +0000 (10:25 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 10 Nov 2016 02:19:54 +0000 (10:19 +0800)
commit83155d7eb4d3cc15d375cc1ac6ec8bd68499193f
treeddbb688b13c9bc8949d12856487e28bdfd2f9803
parent4ab04a72f52e4d12a0c30b20e577e688b786e4fd
IntelFrameworkModulePkg/LegacyBios: Fix legacy serial redirection bug

Upon booting to a legacy OS, LegacyBios driver is responsible to
initialize the BDA region with the correct COM port base address.
But the current logic to get the COM port base address from IsaIo
instance is not correct.
The patch fixes this bug.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacySio.c