#DSDT COMPILING FIXES:
#fix 1:
#
# nasty hack for DV6 to remove one closing bracket from child
into method label _RMV parent_type device parent_label J384 code_regex Return\s\(One\)\n\s*\} replace_matched
begin
Return (One)\n
end;
# nasty hack for DV8
into method label PR08 parent_type device parent_label J384 code_regex Return\s\(PR08\)\n\s*\} replace_matched
begin
Return (One)\n
end;
#
into device name_adr 0x001C0004 code_regex \}\n\s*Else\n\s*\{ remove_matched;
#
into device name_adr 0x001C0004 code_regex PMSX,\s*1\n\s*}\n\s*If\s\(IGDS\)\n\s*\{ replace_matched
begin
PMSX, 1\n
}
end;
#fix 2 - this works:
into DefinitionBlock code_regex_not PBIF code_regex Package\s\(0x0D\) replaceall_matched
begin
Package ()
end;
#fix 3a:
into_all scope label _SB code_regex Name\s\(PR01,\sPackage\s\(0x00\) replaceall_matched
begin
Name (PR01, Package (Zero)
end;
#fix 3b:
into_all scope label _SB code_regex Name\s\(AR01,\sPackage\s\(0x00\) replaceall_matched
begin
Name (AR01, Package (Zero)
end;
#fix 4a:
into device name_hid PNP0A08 code_regex 0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*0xFEAFFFFF(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000 replaceall_matched
begin
0x00000000, // Range Minimum\n
0xFEAFFFFF, // Range Maximum\n
0x00000000, // Translation Offset\n
0xFEB00000
end;
#fix 4b - not relevant for DV8:
into device name_hid PNP0A08 code_regex 0xFED40000(,\s*(?:\/\/\s.*)?\s*\n)\s*0xFED44FFF(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000 replaceall_matched
begin
0xFED40000, // Range Minimum\n
0xFED44FFF, // Range Maximum\n
0x00000000, // Translation Offset\n
0x00004FFF
end;
#fix 4b: - other way of fixing this would be to delete it (shown below), but we're not going to, because the fix above is better
#into device name_hid PNP0A08 code_regex DWordMemory\s\(ResourceProducer,\sPosDecode,\sMinFixed,\sMaxFixed,\sCacheable,\sReadWrite,(?:\/\/\s.*)?\s*\n\s*0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*0xFED40000(,\s*(?:\/\/\s.*)?\s*\n)\s*0xFED44FFF(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*0x00000000(,\s*(?:\/\/\s.*)?\s*\n)\s*,,\s,\sAddressRangeMemory,\sTypeStatic\) remove_matched;
#fix 5:
into_all device label IHUB parent_label RHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label IHUB parent_label RHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
into_all device label PRT3 parent_label IHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label PRT3 parent_label IHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
into_all device label PRT4 parent_label IHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label PRT4 parent_label IHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
into_all device label PRT5 parent_label IHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label PRT5 parent_label IHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
into_all device label PRT6 parent_label IHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label PRT6 parent_label IHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
into_all device label PRT7 parent_label IHUB code_regex Name\s\(_PLD,\sBuffer\s\(0x10\) replaceall_matched
begin
Name (_PLD, Package (0x04)
end;
into_all device label PRT7 parent_label IHUB code_regex (0x[0-9A-F][0-9A-F]),\s0x00,\s0x00,\s0x00 replaceall_matched
begin
%1,\n
Zero,\n
Zero,\n
Zero
end;
#
#
# Add method DTGP to the main block, it's used by other patches
#
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
If (LEqual (Arg0, Buffer (0x10)\n
{\n
/* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
/* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
}))\n
{\n
If (LEqual (Arg1, One))\n
{\n
If (LEqual (Arg2, Zero))\n
{\n
Store (Buffer (One)\n
{\n
0x03\n
}, Arg4)\n
Return (One)\n
}\n
If (LEqual (Arg2, One))\n
{\n
Return (One)\n
}\n
}\n
}\n
Store (Buffer (One)\n
{\n
0x00\n
}, Arg4)\n
Return (Zero)\n
}
end;
# Insert for LID
#
# LID0
#
into method label _LID parent_label LID0 code_regex_not Notify\s\(SLPB,\s0x80\) code_regex (If\s\(LEqual\s\(\^\^PCI0\.LPCB\.EC0\.ECLS,\sOne\)\)\n\s*\{\n\s*Store\s\(Zero,\sLSTS\)) replace_matched
begin
%1\n
Notify (SLPB, 0x80)
end;
# switch on vanilla support for AC adapter driver (_PRW part)
# Insert device _PWR into device ACAD
#
into device label ACAD code_regex_not Name\s\(_PRW insert
begin
Name (_PRW, Package (0x02)\n
{\n
0x18, \n
0x03\n
})
end;
#
# OS definition patching
# What's - \nStore (One, ^LPCB.EC0.ECOS) for?
# also, 07D9 - this is Windows 2009
# ivik suggests using OSYS 0x07D6 for backlight
# http://www.insanelymac.com/forum/index.php?act=findpost&hl=nvidia&pid=1596659
#
into method label _INI parent_label _SB.PCI0 code_regex ^((?:.|\n)*)$ replace_matched
begin
/*\n
%1
*/\n
Store (0x07D9, OSYS)
end;
#
# NVIDIA patch:
# VGA display output
into device label VGA parent_type device parent_adr 0x00030000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package ()\n
{\n
"@0,AAPL,boot-display", \n
Buffer (Zero) {}, \n
"@0,backlight-control", \n
Buffer (0x04)\n
{\n
0x01, 0x00, 0x00, 0x00\n
}, \n
"@0,pwm-info", \n
Buffer (0x18)\n
{\n
/* 0000 */ 0x02, 0x18, 0x00, 0x64, 0x90, 0x59, 0x02, 0x00, \n
/* 0008 */ 0x08, 0x52, 0x00, 0x00, 0xA5, 0x1C, 0x00, 0x00, \n
/* 0010 */ 0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00\n
}, \n
"AAPL,backlight-control", \n
Buffer (0x04)\n
{\n
0x01, 0x00, 0x00, 0x00\n
}, \n
"AAPL,aux-power-connected", \n
Buffer (0x04)\n
{\n
0x01, 0x00, 0x00, 0x00\n
}, \n
"@0,built-in", \n
Buffer (Zero) {}, \n
"@0,compatible", \n
Buffer (0x0B)\n
{\n
"NVDA,NVMac"\n
}, \n
"@0,device_type", \n
Buffer (0x08)\n
{\n
"display"\n
}, \n
"@0,name", \n
Buffer (0x0F)\n
{\n
"NVDA,Display-A"\n
}, \n
"@0,use-backlight-blanking", \n
Buffer (Zero) {}, \n
"@1,can-hot-plug", \n
Buffer (Zero) {}, \n
"@1,compatible", \n
Buffer (0x0B)\n
{\n
"NVDA,NVMac"\n
}, \n
"@1,device_type", \n
Buffer (0x08)\n
{\n
"display"\n
}, \n
"@1,name", \n
Buffer (0x0F)\n
{\n
"NVDA,Display-B"\n
}, \n
"NVCAP", \n
Buffer (0x18)\n
{\n
/* 0000 */ 0x04, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, \n
/* 0008 */ 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0A, \n
/* 0010 */ 0x00, 0x00, 0x00, 0x00\n
}, \n
"NVPM", \n
Buffer (0x20)\n
{\n
/* 0000 */ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n
没有合适的资源?快使用搜索试试~ 我知道了~
各主板黑苹果DSDT补丁
共765个文件
txt:765个
需积分: 44 3 下载量 15 浏览量
2022-06-26
18:22:26
上传
评论
收藏 1.65MB ZIP 举报
温馨提示
DSDT补丁包含以下主板型号: 4Core1600 DVI.txt 45CMV-K.txt 745B.txt 945G7MD.txt 945GCT M.txt 945GCT M3.txt 945P Neo3.txt 1000H.txt 1414.txt 12153.txt 15008.txt A42F.txt A510 U.txt Ab9 Pro.txt Alienware M14X.txt Aspire 1410.txt Aspire 3680.txt Aspire 3690.txt Aspire 3820T.txt Aspire 4715Z.txt Aspire 4720Z.txt Aspire 4740G.txt Aspire 4810T.txt Aspire 5315.txt Aspire 5738G.txt Aspire 5738Z.txt Aspire 5738ZG.txt Aspire 5740.txt Aspire 5740G.txt Aspire 5741Z.txt Aspire 5742G.txt Aspire 5742Z.txt Aspire 5745G.txt
资源详情
资源评论
资源推荐
收起资源包目录
各主板黑苹果DSDT补丁 (765个子文件)
DV6 Core i Nehalem.txt 29KB
DV8 Nehalem GENERIC.txt 26KB
DV6 Nehalem GENERIC.txt 22KB
HDX18.txt 20KB
DV7 1299EF.txt 20KB
Aspire 5745G.txt 13KB
CR400.txt 13KB
N73SV.txt 13KB
CX623.txt 13KB
LJ75.txt 13KB
Aspire 5742Z.txt 13KB
P7P55 WS Supercomputer.txt 13KB
P7H55 M.txt 13KB
P7P55 M.txt 13KB
P7H55D M EVO.txt 13KB
P7P55D E EVO.txt 13KB
P7P55D.txt 13KB
P7P55D E PRO.txt 13KB
P7H55 M USB3.txt 13KB
P7H57D V EVO.txt 13KB
P7P55D E Premium.txt 13KB
P7P55D Premium.txt 13KB
P7P55D LE.txt 13KB
P7H55 M LE.txt 13KB
P7H55 V.txt 13KB
P7H55D M PRO.txt 13KB
P7H55.txt 13KB
P7P55D PRO.txt 13KB
P7H55 USB3.txt 13KB
P7P55D Deluxe.txt 13KB
P7P55D E LX.txt 13KB
P7H55 M LX.txt 13KB
P7H55 M LX USB3.txt 13KB
P7P55D EVO.txt 13KB
P7P55 LX.txt 13KB
P7P55 USB3.txt 13KB
P7Q57 M DO.txt 13KB
P7P55D E Deluxe.txt 13KB
P7P55D E.txt 13KB
DV6T 4000 SandyBridge.txt 13KB
GX640.txt 13KB
Aspire 5738G.txt 13KB
TK85.txt 13KB
Satellite L655.txt 12KB
GA P55-UD6-C.txt 12KB
GA Q57M-S2H.txt 12KB
GA P55-US3L.txt 12KB
GA P55A-UD3P.txt 12KB
GA P55A-UD5.txt 12KB
GA H55M-USB3.txt 12KB
GA P55-UD4.txt 12KB
GA P55-UD5.txt 12KB
GA P55-UD3L.txt 12KB
GA P55A-UD3.txt 12KB
GA H55N-USB3.txt 12KB
GA H55M-D2H.txt 12KB
GA H55-UD3H.txt 12KB
GA H57M-USB3.txt 12KB
GA P55-UD3P.txt 12KB
GA P55A-UD7.txt 12KB
GA H55M-S2HP.txt 12KB
GA P55M-UD2.txt 12KB
GA H55M-UD2H.txt 12KB
GA P55-UD3R.txt 12KB
GA P55-UD6.txt 12KB
GA P55M-UD4.txt 12KB
GA H55M-S2H.txt 12KB
GA P55-USB3L.txt 12KB
GA P55A-UD6.txt 12KB
GA P55A-UD3R.txt 12KB
GA P55A-UD4.txt 12KB
GA P55-UD3L-TPM.txt 12KB
GA P55-S3.txt 12KB
GA H55M-S2V.txt 12KB
GA P55-USB3.txt 12KB
GA H55M-S2.txt 12KB
GA P55-UD4P.txt 12KB
GA P55A-UD4P.txt 12KB
GA P55-UD3.txt 12KB
GA H55-USB3.txt 12KB
Satellite L645.txt 12KB
Aspire 3820T.txt 12KB
R590.txt 12KB
MS 7252.txt 12KB
G73SW.txt 12KB
A510 U.txt 12KB
Vaio VGNSR150A.txt 12KB
DV5 2074DX.txt 12KB
Travelmate 8472TG.txt 12KB
Aspire 4740G.txt 12KB
DV6 3225DX.txt 12KB
W860CU.txt 12KB
Qosmio X500.txt 12KB
Satellite M505 S4945.txt 12KB
X38P2 .txt 12KB
Satellite M115 S3094.txt 12KB
SABERTOOTH 55i.txt 12KB
Maximus III Formula.txt 12KB
Maximus III GENE.txt 12KB
Maximus III Extreme.txt 12KB
共 765 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
生活家小毛
- 粉丝: 1045
- 资源: 5021
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- FY76万用表ROM数据
- 经济学考研热点专题讲义
- 常用高管在职消费-直接法和间接法数据大全(2008-2022年)
- 2022-2007(1995)上市公司污染排放和碳排放数据!
- 分省农业保险收入1997-2021年数据全
- Plant Simulation课程配套课件及模型-AGV
- 数据库实战是数据库学习和应用的重要环节,它涵盖了从数据库设计、建立、查询到优化等各个环节的实际操作 以下是对数据库实战的500字
- Unity是一款功能强大的实时3D互动内容创作和运营平台,为开发者提供了丰富的资源和工具来创建、运营和变现各种实时互动的2D和3
- 【更新 低价】全A上市公司2000-2022内部控制指数及评级、 2013-2022内部控制分项指数!
- 2007-2019年各省份数字化相关指标
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0