audk/MdeModulePkg/Bus/Pci/XhciDxe
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
..
ComponentName.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ComponentName.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbHcMem.c MdeModulePkg/XhciDxe: Add boundary check for TRB ring allocation 2022-10-20 03:23:51 +00:00
UsbHcMem.h MdeModulePkg/XhciDxe: Add boundary check for TRB ring allocation 2022-10-20 03:23:51 +00:00
Xhci.c MdeModulePkg/XhciDxe: Add access xHCI Extended Capabilities Pointer 2022-06-27 02:48:11 +00:00
Xhci.h MdeModulePkg/XhciDxe: Add access xHCI Extended Capabilities Pointer 2022-06-27 02:48:11 +00:00
XhciDxe.inf MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
XhciDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
XhciDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
XhciReg.c MdeModulePkg/XhciDxe: Add access xHCI Extended Capabilities Pointer 2022-06-27 02:48:11 +00:00
XhciReg.h MdeModulePkg/XhciDxe: Add access xHCI Extended Capabilities Pointer 2022-06-27 02:48:11 +00:00
XhciSched.c MdeModulePkg/XhciDxe: Add boundary check for TRB ring allocation 2022-10-20 03:23:51 +00:00
XhciSched.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00