IASL(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

✨ IASL(8) ✨

okay so bestie, the manual name is iasl(8) and this is from the System Manager's Manual β€” we're getting into the good stuff today πŸ’…


πŸŽ€ NAME πŸŽ€

iasl β€” the Intel ACPI compiler/decompiler. yes she both compiles AND decompiles, she contains multitudes πŸ’–

🌸 SYNOPSIS 🌸

iasl [-2cefghl] [-b type] [-d file] [-dc file] [-hc] [-hr] [-i type]
     [-ln] [-ls] [-oa] [-of] [-oi] [-on] [-ot] [-p prefix] [-s type]
     [-t type] [-vi] [-vo] [-vr] [-vs] [-x level] [-w level] input-file

πŸ¦‹ DESCRIPTION πŸ¦‹

the iasl utility is a compiler/decompiler for ACPI Source Language (ASL) and ACPI Machine Language (AML). literally it speaks both languages, bilingual queen πŸ‘‘

major features of iasl include:

  • full support for the ACPI 3.0b Specification including ASL grammar elements and operators. she ate, no crumbs 🌈
  • extensive compiler syntax and semantic error checking, especially in the area of control methods. this reduces the number of errors that are not discovered until the AML code is actually interpreted (i.e., the compile-time error checking reduces the number of run-time errors). basically she catches your mistakes before they become your problems, like a true bestie 🫢
  • multiple types of output files, including formatted listing files with intermixed source, several types of AML files, and error messages. choices, choices, we love options πŸ’œ

⭐ OPTIONS ⭐

  • -2 β€” emit ACPI 2.0 compatible ASL code.
  • -b p|t|b β€” create compiler debug/trace file (*.txt). types: Parse/Tree/Both.
  • -c β€” parse only, no output generation. just vibes, no product πŸ’€
  • -d file β€” disassemble AML to ASL source code file (*.dsl).
  • -dc file β€” disassemble AML and immediately compile it. (obtain DSDT from current system if no input file.) she's doing both steps at once, main character energy πŸ”₯
  • -e β€” generate External() statements for unresolved symbols.
  • -f β€” ignore errors, force creation of AML output file(s). chaos mode, use responsibly πŸ™ˆ
  • -g β€” get ACPI tables and write to files (*.dat).
  • -h β€” additional help and compiler debug options.
  • -hc β€” display operators allowed in constant expressions.
  • -hr β€” display ACPI reserved method names.
  • -i a|c β€” create assembler or C include file (*.inc or *.h).
  • -l β€” create mixed listing file (ASL source and AML) (*.lst).
  • -ln β€” create namespace file (*.nsp).
  • -ls β€” create combined source file (expanded includes) (*.src).
  • -oa β€” disable all optimizations (compatibility mode). old-school era activated πŸ•°οΈ
  • -of β€” disable constant folding.
  • -oi β€” disable integer optimization to Zero/One/Ones.
  • -on β€” disable named reference string optimization.
  • -ot β€” display compile times. clocking her performance, we love a timestamp ⏱️
  • -p prefix β€” specify filename prefix for all output files (including .aml). name your children, bestie πŸŽ€
  • -s a|c β€” create AML in assembler or C source file (*.asm or *.c).
  • -t a|c β€” create AML in assembler or C hex table (*.hex).
  • -vi β€” less verbose errors and warnings for use with IDEs.
  • -vo β€” enable optimization comments.
  • -vr β€” disable remarks. she's quiet, she's mysterious 🀫
  • -vs β€” disable signon.
  • -x level β€” set debug level for trace output.
  • -w level β€” set warning level.

πŸ’œ SEE ALSO πŸ’œ

acpi(4), acpidump(8) β€” go read those too, iykyk πŸ“š

🌺 HISTORY 🌺

the iasl utility is provided with Intel ACPI-CA. it first appeared in FreeBSD 5.2. a legacy icon, honestly πŸ‘‘

πŸ’– AUTHORS πŸ’–

the iasl utility was written by Intel. this manual page was written by Nate Lawson. shoutout to the legends 🫢


and that's the whole page, bestie! source/slapped together by Debian, dated May 20, 2008 β€” yes she's an elder but she's still iconic πŸ’…βœ¨

πŸ“¦ where this page comes from