DSDT: Difference between revisions

227 bytes added ,  28 days ago
m
no edit summary
[unchecked revision][unchecked revision]
(Heading)
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{ACPI}}
==DSDT==
 
''This page is about the ACPI DSDT (Differentiated System Description Table)''
It describes howdevices the(I/O [[APIC]]Ports, worksIRQs, Memory Mappings, etc.).
==DSDT==
===Introduction===
{{stub|section=y}}
DSDT stands for ''Differentiated System Description Table''. It Is a major [[ACPI]] table and is used to describe what peripherals the machine has. Also holds information on PCI IRQ mappings and power management. For example when powering down by the OS, it should find the _S5 object which describes how to do that. It is pointed to by the [[FADT]].
<br />
<br />
As every ACPI table, it has header section and '''should''' be validated ([https://wiki.osdev.org/RSDT#Validating_the_RSDT ACPI table validation]).
===How hardware manufacturers generate it===
You can use an ASL (ACPI Source Language) compiler to generate DSDT AML (ACPI Machine Language) bytecode from a C-like language. To get an idea, take a glimpse on Bochs source:
Line 10 ⟶ 15:
* bios/acpi-dsdt.hex for hex dump of the bytecode output
For example here's the description of the [[RTC|Real Time Clock]]:
<sourcesyntaxhighlight lang="c">
/* PIIX3 ISA bridge */
Device (ISA) {
Line 29 ⟶ 34:
})
}
</syntaxhighlight>
</source>
and what's it became after compilation:
<pre>