audk/MdeModulePkg/Bus/Pci
jdzhang c6720db5dd MdeModulePkg/XhciDxe: Add boundary check for TRB ring allocation
According the Xhci Spec, TRB Rings may be larger than a Page, however they
shall not cross a 64K byte boundary, so add a parameter to indicate
whether the memory allocation is for TRB Rings or not. It will ensure the
allocation not crossing 64K boundary in UsbHcAllocMemFromBlock if the
memory is allocated for TRB Rings.

Signed-off-by: jdzhang <jdzhang@kunluntech.com.cn>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2022-10-20 03:23:51 +00:00
..
EhciDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
EhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IdeBusPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
NonDiscoverablePciDeviceDxe MdeModulePkg/NonDiscoverablePciDeviceDxe: Allow partial FreeBuffer 2022-10-01 10:44:30 +00:00
NvmExpressDxe MdeModulePkg/NvmExpressDxe: fix check for Cap.Css 2022-03-25 00:59:04 +00:00
NvmExpressPei MdeModulePkg: Fix imbalanced debug macros 2022-09-09 01:42:39 +00:00
PciBusDxe Fix bug on SRIOV ReservedBusNum when ARI enable. 2022-10-14 07:07:01 +00:00
PciHostBridgeDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciSioSerialDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SataControllerDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SdMmcPciHcDxe MdeModulePkg: Fix imbalanced debug macros 2022-09-09 01:42:39 +00:00
SdMmcPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UhciDxe MdeModulePkg/Bus/Pci/UhciDxe: Fix the UsbHc memory allocate and free issue 2021-12-09 02:36:30 +00:00
UhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XhciDxe MdeModulePkg/XhciDxe: Add boundary check for TRB ring allocation 2022-10-20 03:23:51 +00:00
XhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00