diff options
author | Laszlo Ersek <lersek@redhat.com> | 2017-02-21 14:43:00 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2017-02-22 03:35:45 +0100 |
commit | 509e6b5a034f0e121c6de9bedd08532bf54cc4f7 (patch) | |
tree | c7b90da1c2da4183792eb0183ab0f74e9fffea92 /OvmfPkg/SmmControl2Dxe | |
parent | 21ca2f28e6c5e006820956d7d56150184faeef85 (diff) | |
download | edk2-platforms-509e6b5a034f0e121c6de9bedd08532bf54cc4f7.tar.xz |
OvmfPkg/QemuFwCfg: introduce FW_CFG_IO_DATA, adapt the package
Introduce the FW_CFG_IO_DATA macro for IO Port 0x511 (the Data Register),
and update all references in OvmfPkg.
Cc: Jordan Justen <jordan.l.justen@intel.com>
Suggested-by: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'OvmfPkg/SmmControl2Dxe')
-rw-r--r-- | OvmfPkg/SmmControl2Dxe/SmiFeatures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/SmmControl2Dxe/SmiFeatures.c b/OvmfPkg/SmmControl2Dxe/SmiFeatures.c index 352ffa0173..73c29848b3 100644 --- a/OvmfPkg/SmmControl2Dxe/SmiFeatures.c +++ b/OvmfPkg/SmmControl2Dxe/SmiFeatures.c @@ -303,7 +303,7 @@ SaveSmiFeatures ( S3SaveState, // This
EFI_BOOT_SCRIPT_IO_POLL_OPCODE, // OpCode
EfiBootScriptWidthUint8, // Width
- (UINT64)(UINTN)0x511, // Address
+ (UINT64)(UINTN)FW_CFG_IO_DATA, // Address
&FeaturesOkData, // Data
&FeaturesOkMask, // DataMask
MAX_UINT64 // Delay
|