]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AcpiPlatformDxe/BootScript.c
OvmfPkg/QemuFwCfg: introduce FW_CFG_IO_DMA_ADDRESS, adapt the package
[mirror_edk2.git] / OvmfPkg / AcpiPlatformDxe / BootScript.c
index 1ad468e2f834c199ac79504b9c616f2df671f64d..bff42ad8b9b00ad07d909a265295d70124fb301f 100644 (file)
@@ -317,7 +317,7 @@ TransferS3ContextToBootScript (
                             S3SaveState,                     // This\r
                             EFI_BOOT_SCRIPT_IO_WRITE_OPCODE, // OpCode\r
                             EfiBootScriptWidthUint32,        // Width\r
-                            (UINT64)0x514,                   // Address\r
+                            (UINT64)FW_CFG_IO_DMA_ADDRESS,   // Address\r
                             (UINTN)2,                        // Count\r
                             &BigEndianAddressOfAccess        // Buffer\r
                             );\r
@@ -376,7 +376,7 @@ TransferS3ContextToBootScript (
                             S3SaveState,                     // This\r
                             EFI_BOOT_SCRIPT_IO_WRITE_OPCODE, // OpCode\r
                             EfiBootScriptWidthUint32,        // Width\r
-                            (UINT64)0x514,                   // Address\r
+                            (UINT64)FW_CFG_IO_DMA_ADDRESS,   // Address\r
                             (UINTN)2,                        // Count\r
                             &BigEndianAddressOfAccess        // Buffer\r
                             );\r