[edk2-devel] [PATCH V1 1/2] OvmfPkg/CcExitLib: Move common X86 instruction code to separate file

Lendacky, Thomas via groups.io thomas.lendacky=amd.com at groups.io
Tue Jan 3 20:27:54 UTC 2023


On 12/29/22 02:55, Min Xu wrote:
> From: Min M Xu <min.m.xu at intel.com>
> 
> 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 <kraxel at redhat.com>
> Cc: Erdem Aktas <erdemaktas at google.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>
> Signed-off-by: Min Xu <min.m.xu at intel.com>

Reviewed-by: Tom Lendacky <thomas.lendacky at amd.com>

> ---
>   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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list