]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AcpiTables/Dsdt.asl
OvmfPkg AcpiTables: Use PcdDebugIoPort to describe QEMU debug console
[mirror_edk2.git] / OvmfPkg / AcpiTables / Dsdt.asl
index 519a31250a45a18f6309a0b62c15b8e97923d2e9..0397722039b5c99dc29ffdd5ad735ef45db03be9 100644 (file)
@@ -130,7 +130,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF    ", 4) {
             )\r
       })\r
 \r
-      Method (_CRS, 0) {\r
+      Method (_CRS, 0, Serialized) {\r
         //\r
         // see the FIRMWARE_DATA structure in "OvmfPkg/AcpiPlatformDxe/Qemu.c"\r
         //\r
@@ -360,7 +360,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF    ", 4) {
         // _CRS method for LNKA, LNKB, LNKC, LNKD\r
         // Arg0[in]: value of PIRA / PIRB / PIRC / PIRD\r
         //\r
-        Method (PCRS, 1, NotSerialized) {\r
+        Method (PCRS, 1, Serialized) {\r
           //\r
           // create temporary buffer with an Extended Interrupt Descriptor\r
           // whose single vector defaults to zero\r
@@ -581,7 +581,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 1, "INTEL ", "OVMF    ", 4) {
             IO (Decode16, 0x278, 0x278, 0x00, 0x08)\r
             IO (Decode16, 0x370, 0x370, 0x00, 0x02)\r
             IO (Decode16, 0x378, 0x378, 0x00, 0x08)\r
-            IO (Decode16, 0x402, 0x402, 0x00, 0x01)        // QEMU debug console, should use FixedPcdGet16 (PcdDebugIoPort)\r
+            IO (Decode16, FixedPcdGet16 (PcdDebugIoPort), FixedPcdGet16 (PcdDebugIoPort), 0x00, 0x01)\r
             IO (Decode16, 0x440, 0x440, 0x00, 0x10)\r
             IO (Decode16, 0x678, 0x678, 0x00, 0x08)\r
             IO (Decode16, 0x778, 0x778, 0x00, 0x08)\r