Patch USB driver to work without PMU

This cheeky little hack stops USB from crashing on a Mac mini without a
working PMU. Calls from the USB controller class driver to
PMActivateTimer are nopped out by replacing bctr with blr at the end of
the glue function. Temporary!
This commit is contained in:
Elliot Nunn 2018-02-23 10:29:44 +08:00
parent 6d103981d8
commit ac2112a0a9
1 changed files with 1 additions and 1 deletions

View File

@ -11373,7 +11373,7 @@ data 'ndrv' (-20776, "pciclass,0c0310") {
$"7C09 03A6 4E80 0420 8182 FE5C 9041 0014" /* |Æ.¦N€. <20>þ\<5C>A.. */
$"800C 0000 804C 0004 7C09 03A6 4E80 0420" /* €...€L..|Æ.¦N€. */
$"8182 FEA8 9041 0014 800C 0000 804C 0004" /* <20>þ¨<C3BE>A..€...€L.. */
$"7C09 03A6 4E80 0420 8182 FEBC 9041 0014" /* |Æ.¦N€. <20>þ¼<C3BE>A.. */
$"7C09 03A6 4E80 0020 8182 FEBC 9041 0014" /* patched bctr to blr in PMActivateTimer glue */
$"800C 0000 804C 0004 7C09 03A6 4E80 0420" /* €...€L..|Æ.¦N€. */
$"8182 FEC8 9041 0014 800C 0000 804C 0004" /* <20>þÈ<C3BE>A..€...€L.. */
$"7C09 03A6 4E80 0420 8182 FE08 9041 0014" /* |Æ.¦N€. <20>þ.<2E>A.. */