diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-12-02 01:40:07 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-12-02 03:09:10 -0500 |
commit | f0cd3a9f4bc68a97ac54c21f9ae90b244dad0c1f (patch) | |
tree | f218f35af063379f24765ed4340db9e1961e8364 | |
parent | dabe193b8bfd29b98d615a7901be5c385bb6279f (diff) | |
download | qemu-seabios-f0cd3a9f4bc68a97ac54c21f9ae90b244dad0c1f.tar.gz |
ACPI: Delineate q35 ACSP DSL code into sections.
Add comments around major sections of the DSL file. Also, add scope
declarations where needed so that each section only contains one
scope.
This is the q35 equivalent of e9fe15b86c6e98a91b30511d005ecdcc8a3e578d.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/q35-acpi-dsdt.dsl | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/q35-acpi-dsdt.dsl b/src/q35-acpi-dsdt.dsl index 18dfafa..2fd79cc 100644 --- a/src/q35-acpi-dsdt.dsl +++ b/src/q35-acpi-dsdt.dsl @@ -48,7 +48,11 @@ DefinitionBlock ( Store(Arg0, \PICF) } - /* PCI Bus definition */ + +/**************************************************************** + * PCI Bus definition + ****************************************************************/ + Scope(\_SB) { Device(PCI0) { Name(_HID, EisaId("PNP0A08")) @@ -116,6 +120,11 @@ DefinitionBlock ( #include "acpi-dsdt-pci-crs.dsl" #include "acpi-dsdt-hpet.dsl" + +/**************************************************************** + * VGA + ****************************************************************/ + Scope(\_SB.PCI0) { Device(VGA) { Name(_ADR, 0x00010000) @@ -129,7 +138,14 @@ DefinitionBlock ( Return (0x00) } } + } + +/**************************************************************** + * LPC ISA bridge + ****************************************************************/ + + Scope(\_SB.PCI0) { /* PCI D31:f0 LPC ISA bridge */ Device(ISA) { /* PCI D31:f0 */ @@ -173,7 +189,11 @@ DefinitionBlock ( #include "acpi-dsdt-isa.dsl" - /* PCI IRQs */ + +/**************************************************************** + * PCI IRQs + ****************************************************************/ + Scope(\_SB) { Scope(PCI0) { #define prt_slot_lnk(nr, lnk0, lnk1, lnk2, lnk3) \ @@ -380,6 +400,11 @@ DefinitionBlock ( #include "acpi-dsdt-cpu-hotplug.dsl" + +/**************************************************************** + * General purpose events + ****************************************************************/ + Scope(\_GPE) { Name(_HID, "ACPI0006") |