Files
Getting-Started-With-ACPI/Manual/compile.html
2021-10-13 05:16:05 +00:00

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.8.2">
<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.2f5fd7c3.css" as="style"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/app.da2915e1.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/2.37ece085.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/17.2265957e.js" as="script"><link rel="preload" href="/Getting-Started-With-ACPI/assets/js/22.20ec9faa.js" as="script"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/10.90dc0770.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/11.797bc65b.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/12.1edfe4e9.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/13.bb89ce16.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/14.bc0fe29e.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/15.d5eb37c1.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/16.0423c777.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/18.324aa744.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/19.e3309ab0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/20.67ca541d.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/21.6e297811.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/23.085d3779.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/24.70860545.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/25.a98fcef3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/26.fcbbbf81.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/27.a17d883e.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/28.9f64f6cd.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/29.6b927056.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/3.0bf6776e.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/30.0133735a.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/31.1607a48c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/32.933e0b24.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/33.de5e1e59.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/34.71bb241b.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/35.d48670cb.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/36.d5f6aefa.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/37.7f504677.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/38.acfeab25.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/39.9d14415c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/4.83487a16.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/40.2f081a45.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/41.b621a6a0.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/42.84779a9d.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/43.8eab13ae.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/44.4afd1a1e.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/45.60214d06.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/46.4d74b86c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/47.c130a6e4.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/48.b96fe7c3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/49.9ac34e54.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/5.08bf1650.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/50.1de4e9e3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/51.f5b5a498.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/52.36d325ef.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/53.b8926a76.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/54.d1c3d3d3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/55.770e9609.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/56.6585337c.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/57.d451aaba.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/58.79f331ad.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/59.1c5f9d5a.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/6.608770f8.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/60.f86658e7.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/61.95dda6f3.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/7.25a492a6.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/8.8eadb7d1.js"><link rel="prefetch" href="/Getting-Started-With-ACPI/assets/js/9.71049807.js">
<link rel="stylesheet" href="/Getting-Started-With-ACPI/assets/css/0.styles.2f5fd7c3.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="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">Prebuilt 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 your 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="https://web.archive.org/web/20200508194642/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="edit-link"><a href="https://github.com/dortania/Getting-Started-With-ACPI/edit/master/Manual/compile.md" target="_blank" rel="noopener noreferrer">Help us improve this page!</a> <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></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">10/13/2021, 5:04:17 AM</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 your 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.da2915e1.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/2.37ece085.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/17.2265957e.js" defer></script><script src="/Getting-Started-With-ACPI/assets/js/22.20ec9faa.js" defer></script>
</body>
</html>