From b636c6e5ff206df71d0307e06d6c6ee2af976b3e Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 13 Aug 2012 15:40:43 +0000 Subject: [PATCH] OvmfPkg: add comments to the DSDT, remove trailing empty line Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13622 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/AcpiTables/Dsdt.asl | 12 +++++++----- 1 file 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) { } } } - -- 2.39.2