On 12/29/22 02:55, Min Xu wrote:
From: Min M Xu <[email protected]>

https://bugzilla.tianocore.org/show_bug.cgi?id=4169

Move common X86 instruction codes from CcExitVcHandler.c to separate
files (CcInstruction.h / CcInstruction.c) so that these codes can be
re-used in TDX.

Cc: Gerd Hoffmann <[email protected]>
Cc: Erdem Aktas <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Tom Lendacky <[email protected]>
Signed-off-by: Min Xu <[email protected]>

Reviewed-by: Tom Lendacky <[email protected]>

---
  OvmfPkg/Library/CcExitLib/CcExitLib.inf     |   1 +
  OvmfPkg/Library/CcExitLib/CcExitVcHandler.c | 697 +++-----------------
  OvmfPkg/Library/CcExitLib/CcInstruction.c   | 454 +++++++++++++
  OvmfPkg/Library/CcExitLib/CcInstruction.h   | 197 ++++++
  OvmfPkg/Library/CcExitLib/SecCcExitLib.inf  |   1 +
  5 files changed, 735 insertions(+), 615 deletions(-)
  create mode 100644 OvmfPkg/Library/CcExitLib/CcInstruction.c
  create mode 100644 OvmfPkg/Library/CcExitLib/CcInstruction.h



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97891): https://edk2.groups.io/g/devel/message/97891
Mute This Topic: https://groups.io/mt/95934164/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to