diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciPei')
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c index 3ae1511222..aedc2e8dc0 100644 --- a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c @@ -2618,6 +2618,7 @@ XhcPeiInitSched ( ASSERT (ScratchEntry != NULL);
Xhc->ScratchEntry = ScratchEntry;
+ ScratchPhy = 0;
Status = UsbHcAllocateAlignedPages (
EFI_SIZE_TO_PAGES (MaxScratchpadBufs * sizeof (UINT64)),
Xhc->PageSize,
@@ -2633,6 +2634,7 @@ XhcPeiInitSched ( // Allocate each scratch buffer
//
for (Index = 0; Index < MaxScratchpadBufs; Index++) {
+ ScratchEntryPhy = 0;
Status = UsbHcAllocateAlignedPages (
EFI_SIZE_TO_PAGES (Xhc->PageSize),
Xhc->PageSize,
|