Files
Getting-Started-With-ACPI/assets/js/17.30e34119.js
2021-10-13 07:00:51 +00:00

1 line
3.9 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{396:function(a,e,i){a.exports=i.p+"assets/img/macos-compile.5b3bc6ad.png"},397:function(a,e,i){a.exports=i.p+"assets/img/windows-compile.62b90d74.png"},450:function(a,e,i){"use strict";i.r(e);var t=i(28),l=Object(t.a)({},(function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"compiling-and-decompiling-acpi-tables"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compiling-and-decompiling-acpi-tables"}},[a._v("#")]),a._v(" Compiling and decompiling ACPI Tables")]),a._v(" "),t("p",[a._v("See "),t("RouterLink",{attrs:{to:"/troubleshooting.html"}},[a._v("Troubleshooting")]),a._v(" if you have dumping/compiling errors")],1),a._v(" "),t("ul",[t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#macos"}},[a._v("macOS Compiling and Decompiling")])],1),a._v(" "),t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#windows"}},[a._v("Windows Compiling and Decompiling")])],1),a._v(" "),t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#linux"}},[a._v("Linux Compiling and Decompiling")])],1)]),a._v(" "),t("h2",{attrs:{id:"macos"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#macos"}},[a._v("#")]),a._v(" macOS")]),a._v(" "),t("p",[a._v("So compiling DSDTs and SSDTs are quite easy with macOS, all you need is "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/releases",target:"_blank",rel:"noopener noreferrer"}},[a._v("MaciASL"),t("OutboundLink")],1),a._v(". To compile, just "),t("code",[a._v("File -> SaveAs -> ACPI Machine Language Binary(.AML)")]),a._v(", decompiling is just opening the file in MaciASL.")]),a._v(" "),t("p",[a._v("For those who prefer the command line, grab "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/blob/master/Dist/iasl-stable",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl-stable"),t("OutboundLink")],1),a._v(" and run the following:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl path/to/DSDT.aml\n")])])]),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])]),a._v(" "),t("p",[t("img",{attrs:{src:i(396),alt:""}})]),a._v(" "),t("h2",{attrs:{id:"windows"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#windows"}},[a._v("#")]),a._v(" Windows")]),a._v(" "),t("p",[a._v("Compiling and decompiling on windows is fairly simple though, you will need "),t("a",{attrs:{href:"https://acpica.org/downloads/binary-tools",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl.exe"),t("OutboundLink")],1),a._v(" and Command Prompt:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl.exe path/to/DSDT.aml\n")])])]),t("p",[t("img",{attrs:{src:i(397),alt:""}})]),a._v(" "),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])]),a._v(" "),t("h2",{attrs:{id:"linux"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#linux"}},[a._v("#")]),a._v(" Linux")]),a._v(" "),t("p",[a._v("Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here ("),t("a",{attrs:{href:"https://web.archive.org/web/20200508194642/http://amdosx.kellynet.nl/iasl.zip",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl"),t("OutboundLink")],1),a._v(") or through the "),t("code",[a._v("iasl")]),a._v(" package in your package manager. iasl can be used as such:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl path/to/DSDT.aml\n")])])]),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])])])}),[],!1,null,null,null);e.default=l.exports}}]);