Formatting cleanup

This commit is contained in:
Mykola Grymalyuk
2020-04-04 18:40:46 -06:00
parent c8440166fd
commit 3187c06553
3 changed files with 32 additions and 18 deletions

View File

@@ -1,9 +1,24 @@
# Compiling and decompiling ACPI Tables
See [General Troubleshooting](https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/troubleshooting/troubleshooting) if you have dumping/compiling errors
* [macOS Compiling and Decompiling](/Manual/compile.md#macos)
* [Windows Compiling and Decompiling](/Manual/compile.md#windows)
* [Linux Compiling and Decompiling](/Manual/compile.md#linux)
## macOS
So compiling DSDTs and SSDTs are quite easy with macOS, all you need is [MaciASL](https://github.com/acidanthera/MaciASL/releases). To compile, just `File -> SaveAs -> ACPI Machine Language Binary(.AML)`, decompiling is just opening the file in MaciASL.
For those who prefer the command line, grab [iasl-stable](https://github.com/acidanthera/MaciASL/blob/master/Dist/iasl-stable) and run the following:
```text
path/to/iasl.exe path/to/DSDT.aml
```
* If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
![](https://cdn.discordapp.com/attachments/683011276938543134/695854856681816144/Screen_Shot_2020-04-03_at_10.38.18_PM.png)
## Windows
Compiling and decompiling on windows is fairly simple though, you will need [iasl.exe](https://acpica.org/sites/acpica/files/iasl-win-20180105.zip) and Command Prompt:
@@ -14,7 +29,7 @@ path/to/iasl.exe path/to/DSDT.aml
![](https://i.imgur.com/IY7HMof.png)
If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
* If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
## Linux
@@ -24,7 +39,4 @@ Compiling and decompiling with Linux is just as simple, you will need a special
path/to/iasl path/to/DSDT.aml
```
If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
See [General Troubleshooting](https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/troubleshooting/troubleshooting) if you have dumping/compiling errors
* If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.