Files
Getting-Started-With-ACPI/Manual/compile.html

61 lines
30 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Compiling and decompiling ACPI Tables | Getting Started With ACPI</title>
<meta name="generator" content="VuePress 1.7.1">
<link rel="&#39;stylesheet" href="/Getting-Started-With-ACPI/styles/website.css">
<meta name="description" content="">
<meta name="theme-color" content="#3eaf7c">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="preload" href="/Getting-Started-With-ACPI/assets/css/0.styles.6c0249c8.css" as="style"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/app.48be70d9.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/2.b96c6b25.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/17.654a44e4.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/25.a30df27b.js" as="script"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/10.5081de30.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/11.b361f094.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/12.44d0100b.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/13.7e79f357.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/14.17d59f56.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/15.0109e811.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/16.9dcf6927.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/18.55dc270f.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/19.f73183b8.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/20.04fcc53a.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/21.5515e10a.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/22.0afc6a4a.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/23.a3fca4dd.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/24.a70a214b.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/26.9a3eb304.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/27.239a168c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/28.293af53c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/29.a4f0b3b1.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/3.fb39bcd4.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/30.34950d06.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/31.958d06f4.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/32.024629f1.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/33.aeb6f79f.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/34.8f4b99b0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/35.b412db3d.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/36.d7521d48.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/37.c3def8e0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/38.f81ddac0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/39.268e6a49.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/4.61452de6.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/40.bfef93ef.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/41.059296f9.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/42.b0e74cdf.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/43.d512c6f3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/44.51770613.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/45.0a48e2aa.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/46.ad4481ef.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/47.8d5a17e4.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/48.a117fcc0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/49.65e86eed.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/5.83388ab5.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/50.ed22c12e.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/51.07d8948f.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/52.6d3d80ab.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/53.b7a62b8d.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/54.8619e447.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/55.552c0e09.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/56.f0055d58.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/57.567ba961.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/58.765cec38.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/59.b1c621bf.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/6.ebe90b89.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/60.11d06dbd.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/61.39604bb5.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/62.82056348.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/63.f3fdad4f.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/64.bc01d23c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/7.4e961e07.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/8.924c9b95.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/9.7cf39e99.js">
<link rel="stylesheet" href="/Getting-Started-With-ACPI/assets/css/0.styles.6c0249c8.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/Getting-Started-With-ACPI/" class="home-link router-link-active"><img src="/Getting-Started-With-ACPI/homepage.png" alt="Getting Started With ACPI" class="logo"> <span class="site-name can-hide">Getting Started With ACPI</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Language Menu" class="dropdown-title"><span class="title">Dortania Guides</span> <span class="arrow down"></span></button> <button type="button" aria-label="Language Menu" class="mobile-dropdown-title"><span class="title">Dortania Guides</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://dortania.github.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Home Site
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/OpenCore-Install-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
OpenCore Install Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/OpenCore-Post-Install/" target="_blank" rel="noopener noreferrer" class="nav-link external">
OpenCore Post-Install
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/Wireless-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Wireless Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/GPU-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
GPU Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Anti Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <div class="nav-item"><a role="button" aria-label="Switch to light mode" class="nav-link"><span>Switch theme</span></a></div> <a href="https://github.com/dortania/Getting-Started-With-ACPI" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Language Menu" class="dropdown-title"><span class="title">Dortania Guides</span> <span class="arrow down"></span></button> <button type="button" aria-label="Language Menu" class="mobile-dropdown-title"><span class="title">Dortania Guides</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://dortania.github.io/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Home Site
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/OpenCore-Install-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
OpenCore Install Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/OpenCore-Post-Install/" target="_blank" rel="noopener noreferrer" class="nav-link external">
OpenCore Post-Install
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/Wireless-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Wireless Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/GPU-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
GPU Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li><li class="dropdown-item"><!----> <a href="https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/" target="_blank" rel="noopener noreferrer" class="nav-link external">
Anti Buyers Guide
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <div class="nav-item"><a role="button" aria-label="Switch to light mode" class="nav-link"><span>Switch theme</span></a></div> <a href="https://github.com/dortania/Getting-Started-With-ACPI" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Introduction</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/" aria-current="page" class="sidebar-link">Getting Started With ACPI</a></li><li><a href="/Getting-Started-With-ACPI/ssdt-platform.html" class="sidebar-link">Choosing the SSDTs</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Methods</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/ssdt-methods/ssdt-methods.html" class="sidebar-link">How to create SSDTs</a></li><li><section class="sidebar-group is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/ssdt-methods/ssdt-prebuilt.html" class="sidebar-link">Pre-Built SSDTs</a></li><li><a href="/Getting-Started-With-ACPI/ssdt-methods/ssdt-easy.html" class="sidebar-link">SSDTs: The easy way</a></li><li><a href="/Getting-Started-With-ACPI/ssdt-methods/ssdt-long.html" class="sidebar-link">SSDTs: The long way</a></li></ul></section></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>Manual</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/Manual/dump.html" class="sidebar-link">Getting a copy of our DSDT</a></li><li><a href="/Getting-Started-With-ACPI/Manual/compile.html" aria-current="page" class="active sidebar-link">Compiling and decompiling ACPI Tables</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/Getting-Started-With-ACPI/Manual/compile.html#macos" class="sidebar-link">macOS</a></li><li class="sidebar-sub-header"><a href="/Getting-Started-With-ACPI/Manual/compile.html#windows" class="sidebar-link">Windows</a></li><li class="sidebar-sub-header"><a href="/Getting-Started-With-ACPI/Manual/compile.html#linux" class="sidebar-link">Linux</a></li></ul></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Desktop</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/Desktops/desktop-disable.html" class="sidebar-link">Disabling desktop dGPUs</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Laptop</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/Laptops/backlight.html" class="sidebar-link">Fixing Backlight</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Laptops/trackpad.html" class="sidebar-link">Fixing Trackpad</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Laptops/laptop-disable.html" class="sidebar-link">Disabling laptop dGPUs</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Universal</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/Universal/ec-fix.html" class="sidebar-link">Embedded Controller</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/plug.html" class="sidebar-link">CPU Power Management</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/awac.html" class="sidebar-link">AWAC vs RTC</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/nvram.html" class="sidebar-link">NVRAM PMC</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/rhub.html" class="sidebar-link">USB RHUB</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/imei.html" class="sidebar-link">IMEI</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/unc0.html" class="sidebar-link">Fixing Uncore Bridge</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/smbus.html" class="sidebar-link">Fixing SMBus Support</a></li><li><section class="sidebar-group collapsable is-sub-group depth-1"><p class="sidebar-heading"><span>Methods</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/Getting-Started-With-ACPI/Universal/irq.html" class="sidebar-link">IRQ Fix</a></li><li><a href="/Getting-Started-With-ACPI/Universal/spoof.html" class="sidebar-link">GPU Spoof</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Cleanup</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/cleanup.html" class="sidebar-link">Cleanup</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Misc</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/Getting-Started-With-ACPI/troubleshooting.html" class="sidebar-link">Troubleshooting</a></li><li><a href="/Getting-Started-With-ACPI/CONTRIBUTING.html" class="sidebar-link">Contributing</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-succinct-content content__default"><h1 id="compiling-and-decompiling-acpi-tables"><a href="#compiling-and-decompiling-acpi-tables" class="header-anchor">#</a> Compiling and decompiling ACPI Tables</h1> <p>See <a href="/Getting-Started-With-ACPI/troubleshooting.html">Troubleshooting</a> if you have dumping/compiling errors</p> <ul><li><a href="/Getting-Started-With-ACPI/Manual/compile.html#macos">macOS Compiling and Decompiling</a></li> <li><a href="/Getting-Started-With-ACPI/Manual/compile.html#windows">Windows Compiling and Decompiling</a></li> <li><a href="/Getting-Started-With-ACPI/Manual/compile.html#linux">Linux Compiling and Decompiling</a></li></ul> <h2 id="macos"><a href="#macos" class="header-anchor">#</a> macOS</h2> <p>So compiling DSDTs and SSDTs are quite easy with macOS, all you need is <a href="https://github.com/acidanthera/MaciASL/releases" target="_blank" rel="noopener noreferrer">MaciASL<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>. To compile, just <code>File -&gt; SaveAs -&gt; ACPI Machine Language Binary(.AML)</code>, decompiling is just opening the file in MaciASL.</p> <p>For those who prefer the command line, grab <a href="https://github.com/acidanthera/MaciASL/blob/master/Dist/iasl-stable" target="_blank" rel="noopener noreferrer">iasl-stable<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> and run the following:</p> <div class="language- extra-class"><pre class="language-text"><code>path/to/iasl path/to/DSDT.aml
</code></pre></div><ul><li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li></ul> <p><img src="/Getting-Started-With-ACPI/assets/img/macos-compile.5b3bc6ad.png" alt=""></p> <h2 id="windows"><a href="#windows" class="header-anchor">#</a> Windows</h2> <p>Compiling and decompiling on windows is fairly simple though, you will need <a href="https://acpica.org/downloads/binary-tools" target="_blank" rel="noopener noreferrer">iasl.exe<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> and Command Prompt:</p> <div class="language- extra-class"><pre class="language-text"><code>path/to/iasl.exe path/to/DSDT.aml
</code></pre></div><p><img src="/Getting-Started-With-ACPI/assets/img/windows-compile.62b90d74.png" alt=""></p> <ul><li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li></ul> <h2 id="linux"><a href="#linux" class="header-anchor">#</a> Linux</h2> <p>Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here (<a href="http://amdosx.kellynet.nl/iasl.zip" target="_blank" rel="noopener noreferrer">iasl<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>) or through the <code>iasl</code> package in your package manager. iasl can be used as such:</p> <div class="language- extra-class"><pre class="language-text"><code>path/to/iasl path/to/DSDT.aml
</code></pre></div><ul><li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li></ul></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">8/1/2020, 3:39:32 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/Getting-Started-With-ACPI/Manual/dump.html" class="prev">
Getting a copy of our DSDT
</a></span> <span class="next"><a href="/Getting-Started-With-ACPI/Desktops/desktop-disable.html">
Disabling desktop dGPUs
</a>
</span></p></div> </main></div><div class="global-ui"><div style="visibility:hidden;display:none;"></div><!----></div></div>
<script src="/Getting-Started-With-ACPI/assets/js/app.48be70d9.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/2.b96c6b25.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/17.654a44e4.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/25.a30df27b.js" defer></script>
</body>
</html>