// start lenovo g50-70 patch
//
//
//
// FWBT, 64,
// SMDA, 256,
// BMN0, 72, *NOT USED*
// BDN0, 56, *NOT USED*
// B1RC, 16, BRC0 8, BRC1 8
// B1SN, 16, *NOT USED*
// B1FV, 16, BFV0 8, BFV1 8
// B1DV, 16, BDV0 8, BDV1 8
// B1DC, 16, BDC0 8, BDC1 8
// B1FC, 16, BFC0 8, BFC1 8
// B1CR, 16, *NOT USED*
// B1AC, 16, BAC0 8, BAC1 8
// B1CC, 16, *NOT USED*
// B1SM, 16, *NOT USED*
// B1C1, 16, *NOT USED*
// B1C2, 16, *NOT USED*
// B1C3, 16, *NOT USED*
// B1C4, 16, *NOT USED*
into device label H_EC code_regex B1RC,\s+16, replace_matched begin BRC0,8,BRC1,8, end;
into device label H_EC code_regex B1FV,\s+16, replace_matched begin BFV0,8,BFV1,8, end;
into device label H_EC code_regex B1DV,\s+16, replace_matched begin BDV0,8,BDV1,8, end;
into device label H_EC code_regex B1DC,\s+16, replace_matched begin BDC0,8,BDC1,8, end;
into device label H_EC code_regex B1FC,\s+16, replace_matched begin BFC0,8,BFC1,8, end;
into device label H_EC code_regex B1AC,\s+16, replace_matched begin BAC0,8,BAC1,8, end;
//
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 method label GBTI code_regex \(B1RC, replaceall_matched begin (B1B2(BRC0,BRC1), end;