[edk2-devel] [PATCH V4 25/31] OvmfPkg/BaseMemEncryptTdxLib: Add TDX helper library

Min Xu min.m.xu at intel.com
Fri Jan 21 02:54:27 UTC 2022


Hi
> > +++
> b/OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemoryEncryptionNull.c
> > @@ -0,0 +1,90 @@
> > +/** @file
> > +
> > +  Virtual Memory Management Services to set or clear the memory
> > + encryption
> > +
> > +  Copyright (c) 2006 - 2018, Intel Corporation. All rights
> > + reserved.<BR>  Copyright (c) 2017, AMD Incorporated. All rights
> > + reserved.<BR>
> > +
> > +  SPDX-License-Identifier: BSD-2-Clause-Patent
> > +
> > +  Code is derived from
> > + MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c
> 
> Can we move most of the code to a (x64) page table library instead of
> cut+pasting like this, please?
As I explained in https://edk2.groups.io/g/devel/message/85582, there has already been a same feature requirement. https://bugzilla.tianocore.org/show_bug.cgi?id=847 . (Create page table library to abstract all page table manipulations)
I discussed with the feature owner (Ni, Ray).  He said this feature is in his plan of 2022. He suggest I can wait for the library.

Thanks
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85889): https://edk2.groups.io/g/devel/message/85889
Mute This Topic: https://groups.io/mt/87696601/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