mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 05:04:24 +02:00
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
This commit is contained in:
parent
a42bdfccc3
commit
b636c6e5ff
@ -213,12 +213,13 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// PCI to ISA Bridge (Bus 0, Device 1, Function 0)
|
// PCI to ISA Bridge (Bus 0, Device 1, Function 0)
|
||||||
|
// "Low Pin Count"
|
||||||
//
|
//
|
||||||
Device (LPC) {
|
Device (LPC) {
|
||||||
Name (_ADR, 0x00010000)
|
Name (_ADR, 0x00010000)
|
||||||
|
|
||||||
//
|
//
|
||||||
// PCI Interrupt Routing Configuration Registers
|
// PCI Interrupt Routing Configuration Registers, PIRQRC[A:D]
|
||||||
//
|
//
|
||||||
OperationRegion (PRR0, PCI_Config, 0x60, 0x04)
|
OperationRegion (PRR0, PCI_Config, 0x60, 0x04)
|
||||||
Field (PRR0, ANYACC, NOLOCK, PRESERVE) {
|
Field (PRR0, ANYACC, NOLOCK, PRESERVE) {
|
||||||
@ -230,17 +231,19 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// _STA method for LNKA, LNKB, LNKC, LNKD
|
// _STA method for LNKA, LNKB, LNKC, LNKD
|
||||||
|
// Arg0[in]: value of PIRA / PIRB / PIRC / PIRD
|
||||||
//
|
//
|
||||||
Method (PSTA, 1, NotSerialized) {
|
Method (PSTA, 1, NotSerialized) {
|
||||||
If (And (Arg0, 0x80)) {
|
If (And (Arg0, 0x80)) { // disable-bit set?
|
||||||
Return (0x9)
|
Return (0x9) // "device present" | "functioning properly"
|
||||||
} Else {
|
} Else {
|
||||||
Return (0xB)
|
Return (0xB) // same | "enabled and decoding resources"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// _CRS method for LNKA, LNKB, LNKC, LNKD
|
// _CRS method for LNKA, LNKB, LNKC, LNKD
|
||||||
|
// Arg0[in]: value of PIRA / PIRB / PIRC / PIRD
|
||||||
//
|
//
|
||||||
Method (PCRS, 1, NotSerialized) {
|
Method (PCRS, 1, NotSerialized) {
|
||||||
//
|
//
|
||||||
@ -527,4 +530,3 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF ", 3) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user