mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
34 lines
981 B
Text
Executable file
34 lines
981 B
Text
Executable file
#Maintained by: franksanderdo
|
|
# patches to allow compilation after disassembly related T470p
|
|
# I found some weird "One" between the definitions of SS1 to SS4
|
|
# Name (SS1, 0x00)
|
|
# Name (SS2, 0x00)
|
|
# Name (SS3, One)
|
|
# One <---
|
|
# Name (SS4, One)
|
|
# One <---
|
|
# Those create the error:
|
|
# Compiler aborting due to parser-detected syntax error(s)
|
|
# DSDT.dsl 150: Name (SS4, One)
|
|
# Error 6126 - ^ syntax error, unexpected PARSEOP_NAME
|
|
#
|
|
# I am removing the two with:
|
|
|
|
into_all all code_regex (\s+One\n) replaceall_matched
|
|
begin
|
|
\n
|
|
end;
|
|
|
|
# for whatever reason the disassembler creates an external reference for BNUM
|
|
# BNUM also gets generated in:
|
|
# Field (GNVS, AnyAcc, Lock, Preserve)
|
|
# this creates the error:
|
|
# DSDT.dsl 179: BNUM, 8,
|
|
# Error 6074 - ^ Name already exists in scope (BNUM)
|
|
#
|
|
# I am renaming the external reference with:
|
|
|
|
into_all all code_regex External\s+\(BNUM, replaceall_matched
|
|
begin
|
|
External (BNU1,
|
|
end;
|