]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/XhciDxe: Fix Aligned Page Allocation
authorAshish Singhal <ashishsingha@nvidia.com>
Tue, 15 Oct 2019 17:20:46 +0000 (01:20 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Mon, 21 Oct 2019 00:59:25 +0000 (08:59 +0800)
commit3b889f6faba1786c059dd9306e813707aef497ca
tree17a4f0fd375eaf7fa8d3dec30f52026b6fd3eb66
parent0f28c513d392a807f7b4225964eba6e2b1c453a2
MdeModulePkg/XhciDxe: Fix Aligned Page Allocation

While allocating pages aligned at an alignment higher than
4K, allocate memory taking into consideration the padding
required for that alignment. The calls to free pages takes
care of this already.

Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.c