]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Bus/Pci/UhciDxe: Fix the UsbHc memory allocate and free issue
authorjdzhang <jdzhang@zd-tech.com.cn>
Thu, 25 Nov 2021 07:44:48 +0000 (15:44 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Dec 2021 02:36:30 +0000 (02:36 +0000)
commitd25b803e514a11a25de91d4174b289d2ae783338
tree493b7ed8255215ffa9bf048e2c42dc87e2010c58
parent7b2831000894f3091cac633e61d9bcf3661cc44b
MdeModulePkg/Bus/Pci/UhciDxe: Fix the UsbHc memory allocate and free issue

When use the UsbHcAllocMemFromBlock() and UsbHcFreeMem() to allocate
memory and free memory for the UHC, it should use the corresponding host
address but not the pci bus address.

Signed-off-by: jdzhang <jdzhang@zd-tech.com.cn>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/UhciDxe/UsbHcMem.c