diff options
author | Min M Xu <min.m.xu@intel.com> | 2022-12-15 13:18:08 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-18 02:14:31 +0000 |
commit | 09f01d4efb50de51c720723748c6be4f7d308a56 (patch) | |
tree | 8ac5eb94229e9ce0f57e490fba32ecf0a0032bee | |
parent | c4e76d2fbaa2a79be881df90aa185990acc7bf54 (diff) | |
download | edk2-09f01d4efb50de51c720723748c6be4f7d308a56.tar.gz edk2-09f01d4efb50de51c720723748c6be4f7d308a56.tar.bz2 edk2-09f01d4efb50de51c720723748c6be4f7d308a56.zip |
OvmfPkg/IoMmuDxe: Rename AmdSevIoMmu to CcIoMmu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4171
IoMmuDxe once was designed to support DMA operation when SEV is enabled.
After TDX is enabled in IoMmuDxe, some files' name in IoMmuDxe need to
be more general. So this patch rename:
AmdSevIoMmu.h -> CcIoMmu.h
AmdSevIoMmu.c -> CcIoMmu.c
Accordingly there are some udates in IoMmuDxe.c and IoMmuDxe.inf.
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
-rw-r--r-- | OvmfPkg/IoMmuDxe/CcIoMmu.c (renamed from OvmfPkg/IoMmuDxe/AmdSevIoMmu.c) | 2 | ||||
-rw-r--r-- | OvmfPkg/IoMmuDxe/CcIoMmu.h (renamed from OvmfPkg/IoMmuDxe/AmdSevIoMmu.h) | 0 | ||||
-rw-r--r-- | OvmfPkg/IoMmuDxe/IoMmuDxe.c | 2 | ||||
-rw-r--r-- | OvmfPkg/IoMmuDxe/IoMmuDxe.inf | 5 |
4 files changed, 4 insertions, 5 deletions
diff --git a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.c b/OvmfPkg/IoMmuDxe/CcIoMmu.c index 77e46bbf4a..1479af4698 100644 --- a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.c +++ b/OvmfPkg/IoMmuDxe/CcIoMmu.c @@ -14,7 +14,7 @@ #include <Library/PcdLib.h>
#include <ConfidentialComputingGuestAttr.h>
-#include "AmdSevIoMmu.h"
+#include "CcIoMmu.h"
#include "IoMmuInternal.h"
//
diff --git a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h b/OvmfPkg/IoMmuDxe/CcIoMmu.h index 8fdfa99685..8fdfa99685 100644 --- a/OvmfPkg/IoMmuDxe/AmdSevIoMmu.h +++ b/OvmfPkg/IoMmuDxe/CcIoMmu.h diff --git a/OvmfPkg/IoMmuDxe/IoMmuDxe.c b/OvmfPkg/IoMmuDxe/IoMmuDxe.c index 86777dd05c..aab6d8b906 100644 --- a/OvmfPkg/IoMmuDxe/IoMmuDxe.c +++ b/OvmfPkg/IoMmuDxe/IoMmuDxe.c @@ -9,7 +9,7 @@ **/
-#include "AmdSevIoMmu.h"
+#include "CcIoMmu.h"
EFI_STATUS
EFIAPI
diff --git a/OvmfPkg/IoMmuDxe/IoMmuDxe.inf b/OvmfPkg/IoMmuDxe/IoMmuDxe.inf index 2192145ea6..17fca52856 100644 --- a/OvmfPkg/IoMmuDxe/IoMmuDxe.inf +++ b/OvmfPkg/IoMmuDxe/IoMmuDxe.inf @@ -18,8 +18,8 @@ ENTRY_POINT = IoMmuDxeEntryPoint
[Sources]
- AmdSevIoMmu.c
- AmdSevIoMmu.h
+ CcIoMmu.c
+ CcIoMmu.h
IoMmuDxe.c
IoMmuBuffer.c
@@ -27,7 +27,6 @@ MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
OvmfPkg/OvmfPkg.dec
-# UefiCpuPkg/UefiCpuPkg.dec
[LibraryClasses]
BaseLib
|