- 积分
- 226
- 最后登录
- 2023-6-7
- 精华
- 0
- 阅读权限
- 30
- 主题
- 65
- UID
- 1469982
- 帖子
- 566
- PB币
- 1553
- 威望
- 0
- 贡献
- 0
- 技术
- 45
- 活跃
- 873
资深土著
- UID
- 1469982
- 帖子
- 566
- PB币
- 1553
- 贡献
- 0
- 技术
- 45
- 活跃
- 873
|
本帖最后由 小叶在远方 于 2017-11-5 02:03 编辑
工具介绍:
iasl: DSDT/SSDT 编译/反编译工具
使用格式:
反编译 (.aml -> .dsl) iasl -da -dl -fe refs.txt DSDT.aml SSDT*.aml
编译 (.dsl -> .aml)iasl *.dsl
(refs.txt 是我收集的常用的引用对象,有助于iasl更好的识别)
patchmatic: mac 下dsdt/ssdt 打补丁/提取工具
- Usage: patchmatic <dsl-input> <patches-file> [<dsl-output>]
- where:
- <dsl-input> name of ASCII DSL input file (output from iasl -d)
- <patches-file> name of file containing patches to apply to <dsl-input>
- <dsl-output> name of patched output file (to be compiled with iasl)
- >> Patches <dsl-input> with <patches-file> and produces patched <dsl-output>
- -OR-
- Usage: patchmatic -extract
- Usage: patchmatic -extractall
- >> Extracts loaded ACPI binaries from ioreg
- -extract will extract just DSDT/SSDTs
- -extractall will extract all ACPI tables
复制代码
RehabMan的repo:https://github.com/RehabMan/Intel-iasl
同步的acpica 9月4日, 2017的代码 https://github.com/acpica/acpica/commits/master
<610046d444ad781cc36673bf1f030abe50cbc61f>
iasl + patchmatic 二进制文件打包 自行复制到 /usr/bin/ 并添加执行权限 (sudo chmod a+x )
refs.txt (不支持上传txt格式,请自行解压使用)
MaciASL.app 编辑工具(包括最新iasl)
另外 关于dsdt的修改,我随便写了几个脚本用来自动编译以及应用dsdt后的提取验证之类的,可以去我的repo看一下
https://github.com/1and1get2/CP65S/tree/master/DSDT
图片有点过时 懒得再截图了
重新编译的iasl,并且添加到MaciASL.app中
2017-11-04 更新
更新 我自行修改的patchmatic现在提取的 ACPI 表格增加了表格名,比如 SSDT-24-GLAN_PRW.aml 便于识别
(目前未合并上流repo,所以仅此一家)
2017-10-28 更新
合并上流版本最新提交 <cb9a3906ec35da7a6e0b8972f8e6e7895e59c208 >
ASL+ Optimizing Compiler/Disassembler version 20170929(RM)
https://github.com/1and1get2/Intel-iasl/commits/mine/master
完整二进制文件 (包括patchmatic)
包含最新iasl6 文件的 maciasl.app(也可以下载二进制包手动替换文件)
至于你们说的 附件无法下载的问题,应该是论坛的问题吧
2017-10-07 更新:
同步最新代码,仅包含二进制文件,请自行更新MaciASL.app中的iasl文件
|
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
|