mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
0f28c513d3
commit
3b889f6fab
|
@ -656,7 +656,7 @@ UsbHcAllocateAlignedPages (
|
|||
PciIo,
|
||||
AllocateAnyPages,
|
||||
EfiBootServicesData,
|
||||
Pages,
|
||||
RealPages,
|
||||
&Memory,
|
||||
0
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue