summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 15:40:43 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2012-08-13 15:40:43 +0000
commitb636c6e5ff206df71d0307e06d6c6ee2af976b3e (patch)
tree10603568bc74d0de6e3bba6f64b8c1256ab11bea /OvmfPkg
parenta42bdfccc34fa671891758fed27b4618ba5e5142 (diff)
downloadedk2-b636c6e5ff206df71d0307e06d6c6ee2af976b3e.tar.gz
edk2-b636c6e5ff206df71d0307e06d6c6ee2af976b3e.tar.bz2
edk2-b636c6e5ff206df71d0307e06d6c6ee2af976b3e.zip
OvmfPkg: add comments to the DSDT, remove trailing empty line
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13622 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/AcpiTables/Dsdt.asl12
1 files changed, 7 insertions, 5 deletions
diff --git a/OvmfPkg/AcpiTables/Dsdt.asl b/OvmfPkg/AcpiTables/Dsdt.asl
index e12c3e9a07..91d412b6d5 100644
--- a/OvmfPkg/AcpiTables/Dsdt.asl
+++ b/OvmfPkg/AcpiTables/Dsdt.asl
@@ -213,12 +213,13 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
//
// PCI to ISA Bridge (Bus 0, Device 1, Function 0)
+ // "Low Pin Count"
//
Device (LPC) {
Name (_ADR, 0x00010000)
//
- // PCI Interrupt Routing Configuration Registers
+ // PCI Interrupt Routing Configuration Registers, PIRQRC[A:D]
//
OperationRegion (PRR0, PCI_Config, 0x60, 0x04)
Field (PRR0, ANYACC, NOLOCK, PRESERVE) {
@@ -230,17 +231,19 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
//
// _STA method for LNKA, LNKB, LNKC, LNKD
+ // Arg0[in]: value of PIRA / PIRB / PIRC / PIRD
//
Method (PSTA, 1, NotSerialized) {
- If (And (Arg0, 0x80)) {
- Return (0x9)
+ If (And (Arg0, 0x80)) { // disable-bit set?
+ Return (0x9) // "device present" | "functioning properly"
} Else {
- Return (0xB)
+ Return (0xB) // same | "enabled and decoding resources"
}
}
//
// _CRS method for LNKA, LNKB, LNKC, LNKD
+ // Arg0[in]: value of PIRA / PIRB / PIRC / PIRD
//
Method (PCRS, 1, NotSerialized) {
//
@@ -527,4 +530,3 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
}
}
}
-