################### # Work in progress patch for Cube i7 Book battery status # into method label B1B2 remove_entry; into definitionblock code_regex . insert begin Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n end; into device label H_EC code_regex B1DC,\s+16 replace_matched begin XDC0,8,XDC1,8 end; into device label H_EC code_regex B1FC,\s+16 replace_matched begin XFC0,8,XFC1,8 end; into device label H_EC code_regex B1CR,\s+16 replace_matched begin XCR0,8,XCR1,8 end; into device label H_EC code_regex B1RC,\s+16 replace_matched begin XRC0,8,XRC1,8 end; into device label H_EC code_regex B1VT,\s+16 replace_matched begin XVT0,8,XVT1,8 end; #into device label H_EC code_regex CHGR,\s+16 replace_matched begin XCH0,8,XCH1,8 end; #into device label H_EC code_regex XX11,\s+16 replace_matched begin Y110,8,Y111,8 end; #into device label H_EC code_regex B1FV,\s+16 replace_matched begin XFV0,8,XFV1,8 end; #into device label H_EC code_regex XX15,\s+16 replace_matched begin Y150,8,Y151,8 end; into method label _BIF code_regex \(B1DC, replaceall_matched begin (B1B2(XDC0,XDC1), end; into method label _BIF code_regex \(B1FC, replaceall_matched begin (B1B2(XFC0,XFC1), end; into method label _BIF code_regex \(B1FC\) replaceall_matched begin (B1B2(XFC0,XFC1)) end; into method label _BST code_regex \(B1CR, replaceall_matched begin (B1B2(XCR0,XCR1), end; into method label _BST code_regex \(B1RC, replaceall_matched begin (B1B2(XRC0,XRC1), end; into method label _BST code_regex \(B1VT, replaceall_matched begin (B1B2(XVT0,XVT1), end; into method label _BST code_regex ,\sB1VT\) replaceall_matched begin , B1B2(XVT0,XVT1)) end; ################### #OS Check Fix into_all method code_regex If\s+\([\\]?_OSI\s+\(\"Windows\s2015\"\)\) replace_matched begin If(LOr(_OSI("Darwin"),_OSI("Windows 2015"))) end; ################### #Maintained by: RehabMan for: Laptop Patches #system_Mutex.txt into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end; into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;