mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
MdeMdeModulePkg/Xhci: Clear BIOS_OWN semaphore before halting XHCI controller
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Steven Shi <steven.shi@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14339 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
70eca31be1
commit
11249a7339
@ -1802,6 +1802,8 @@ XhcExitBootService (
|
|||||||
gBS->CloseEvent (Xhc->PollTimer);
|
gBS->CloseEvent (Xhc->PollTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XhcClearBiosOwnership (Xhc);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Restore original PCI attributes
|
// Restore original PCI attributes
|
||||||
//
|
//
|
||||||
@ -1811,8 +1813,6 @@ XhcExitBootService (
|
|||||||
Xhc->OriginalPciAttributes,
|
Xhc->OriginalPciAttributes,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
XhcClearBiosOwnership (Xhc);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user