]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/XhciDxe: Check return value of XHC_PAGESIZE register
authorLuo, Heng <heng.luo@intel.com>
Mon, 20 Jun 2022 07:08:16 +0000 (15:08 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 22 Jun 2022 01:15:39 +0000 (01:15 +0000)
commitb97243dea3c95ad923fa4ca190940158209e8384
tree0d480157fa5b7bfe81bf8eb10f07d48e7e7c06ab
parentcfe165140a7c140c2d2f382113abd6e9ac89ce77
MdeModulePkg/XhciDxe: Check return value of XHC_PAGESIZE register

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3954

Report error if reserved bits are not 0 for PageSize

Cc: Ray Ni <ray.ni@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Signed-off-by: Heng Luo <heng.luo@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c