OvmfPkg: SmmCpuFeaturesLib: customize state save map format
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Nov 2015 18:46:42 +0000 (18:46 +0000)
committerlersek <lersek@Edk2>
Mon, 30 Nov 2015 18:46:42 +0000 (18:46 +0000)
commitc1fcd80bf42e6b1e91c1c742d222f1ba421b1d1d
tree5b7d06ec1764c61e13ad42870b115fda6b0d11f0
parent4036b4e57ccef4e0fa48d8389acf6390826c2bed
OvmfPkg: SmmCpuFeaturesLib: customize state save map format

This adjusts the previously introduced state save map access functions, to
account for QEMU and KVM's 64-bit state save map following the AMD spec
rather than the Intel one.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[lersek@redhat.com: reflow commit message, convert patch to CRLF]

Cc: Paolo Bonzini <pbonzini@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19057 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Include/Register/QemuSmramSaveStateMap.h [new file with mode: 0644]
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf