Skip to content

Commit

Permalink
add PARSEOP_ZERO agressive patch (for those that don't read)
Browse files Browse the repository at this point in the history
  • Loading branch information
RehabMan committed May 25, 2017
1 parent 59f5627 commit ad8922b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .maciasl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[syn] Fix PARSEOP_STORE/MMTB/HRPR Error syntax/fix_MMTB.txt
[syn] Fix *pnp/pnp lower case Error syntax/fix_HID_pnp.txt
[syn] Fix PARSEOP_ZERO Error syntax/fix_PARSEOP_ZERO.txt
[syn] Fix PARSEOP_ZERO Error (aggressive) syntax/fix_PARSEOP_ZERO_agressive.txt
[syn] Rename _DSM methods to XDSM syntax/rename_DSM.txt
[syn] Remove _DSM methods syntax/remove_DSM.txt
[syn] Remove _PSS placeholders syntax/fix_PSS.txt
Expand Down
2 changes: 2 additions & 0 deletions Patches.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
ED1F747B1A4C772200FFE7AE /* battery_Lenovo-z470-z370.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-z470-z370.txt"; path = "battery/battery_Lenovo-z470-z370.txt"; sourceTree = "<group>"; };
ED1F8F471A1399D1005F6F5B /* battery_Lenovo-Yoga-13.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-Yoga-13.txt"; path = "battery/battery_Lenovo-Yoga-13.txt"; sourceTree = "<group>"; };
ED2050221AD1124600E60CD2 /* battery_Dell-Inspiron-15-7xxx.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Dell-Inspiron-15-7xxx.txt"; path = "battery/battery_Dell-Inspiron-15-7xxx.txt"; sourceTree = "<group>"; };
ED2188281ED71F220034C32E /* fix_PARSEOP_ZERO_agressive.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = fix_PARSEOP_ZERO_agressive.txt; path = syntax/fix_PARSEOP_ZERO_agressive.txt; sourceTree = "<group>"; };
ED2A1F171AB32E770024D58C /* battery_Lenovo-y510p.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Lenovo-y510p.txt"; path = "battery/battery_Lenovo-y510p.txt"; sourceTree = "<group>"; };
ED2A20371E1D358D0088E616 /* battery_Microxperts-u731ga1.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Microxperts-u731ga1.txt"; path = "battery/battery_Microxperts-u731ga1.txt"; sourceTree = "<group>"; };
ED2C801E1C3F8A140009BA8A /* battery_Surface-Pro-v4.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "battery_Surface-Pro-v4.txt"; path = "battery/battery_Surface-Pro-v4.txt"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -198,6 +199,7 @@
ED7FE0FD1CAC912600C11BC3 /* rename_DSM.txt */,
8475976F1943A347009F3026 /* remove_DSM.txt */,
84FEF29C196D8B7D0061DF5A /* fix_PARSEOP_ZERO.txt */,
ED2188281ED71F220034C32E /* fix_PARSEOP_ZERO_agressive.txt */,
EDE3BCB71B018ED700475630 /* fix_PSS.txt */,
);
name = "Syntax Errors";
Expand Down
10 changes: 10 additions & 0 deletions syntax/fix_PARSEOP_ZERO_agressive.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#Maintained by: RehabMan for: Laptop Patches
#fix_PARSEOP_ZERO.txt

# credit toleda: http://www.tonymacx86.com/dsdt/89727-maciasl-patch-repository-thread.html#post574047

into device label PCI0 code_regex (\s+Zero){2,} removeall_matched;

# if you need something more agressive...
into_all all code_regex (\s+Zero){2,} removeall_matched;
into device label PCI0 code_regex (\s+Zero){2,} removeall_matched;

0 comments on commit ad8922b

Please sign in to comment.