public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-staging/SmmCpuFeaturesLib_AMD][PATCH 1/4] Add X86 folder
@ 2022-09-13  8:50 Chang, Abner
  0 siblings, 0 replies; only message in thread
From: Chang, Abner @ 2022-09-13  8:50 UTC (permalink / raw)
  To: devel
  Cc: jiangang.he, Abdul Lateef Attar, Garrett Kirkendall, Paul Grimes,
	Eric Dong, Ray Ni, Rahul Kumar

From: Abner Chang <abner.chang@amd.com>

1. Add X86 folder under SmmCpuFeaturesLib to accommodate X86
   implementation.
2. Move Ia32 and X64 to under \X86.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Abdul Lateef Attar <abdattar@amd.com>
Cc: Garrett Kirkendall <garrett.kirkendall@amd.com>
Cc: Paul Grimes <paul.grimes@amd.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
---
 .../SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf       | 12 ++++++------
 .../SmmCpuFeaturesLib/{ => X86}/Ia32/SmmStmSupport.c |  0
 .../SmmCpuFeaturesLib/{ => X86}/X64/SmmStmSupport.c  |  0
 .../SmmCpuFeaturesLib/{ => X86}/Ia32/SmiEntry.nasm   |  0
 .../{ => X86}/Ia32/SmiException.nasm                 |  0
 .../SmmCpuFeaturesLib/{ => X86}/X64/SmiEntry.nasm    |  0
 .../{ => X86}/X64/SmiException.nasm                  |  0
 7 files changed, 6 insertions(+), 6 deletions(-)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/Ia32/SmmStmSupport.c (100%)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/X64/SmmStmSupport.c (100%)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/Ia32/SmiEntry.nasm (100%)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/Ia32/SmiException.nasm (100%)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/X64/SmiEntry.nasm (100%)
 rename UefiCpuPkg/Library/SmmCpuFeaturesLib/{ => X86}/X64/SmiException.nasm (100%)

diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
index 85214ee31cd..561bd85e780 100644
--- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
+++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
@@ -25,18 +25,18 @@
   TraditionalMmCpuFeaturesLib.c
 
 [Sources.Ia32]
-  Ia32/SmmStmSupport.c
+  X86/Ia32/SmmStmSupport.c
 
 
-  Ia32/SmiEntry.nasm
-  Ia32/SmiException.nasm
+  X86/Ia32/SmiEntry.nasm
+  X86/Ia32/SmiException.nasm
 
 [Sources.X64]
-  X64/SmmStmSupport.c
+  X86/X64/SmmStmSupport.c
 
 
-  X64/SmiEntry.nasm
-  X64/SmiException.nasm
+  X86/X64/SmiEntry.nasm
+  X86/X64/SmiException.nasm
 
 [Packages]
   MdePkg/MdePkg.dec
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmmStmSupport.c
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmmStmSupport.c
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmmStmSupport.c
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmmStmSupport.c
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmmStmSupport.c
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmmStmSupport.c
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiEntry.nasm
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiEntry.nasm
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiEntry.nasm
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.nasm b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiException.nasm
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/Ia32/SmiException.nasm
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/Ia32/SmiException.nasm
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiEntry.nasm
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiEntry.nasm
diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.nasm b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiException.nasm
similarity index 100%
rename from UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiException.nasm
rename to UefiCpuPkg/Library/SmmCpuFeaturesLib/X86/X64/SmiException.nasm
-- 
2.37.1.windows.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-13  8:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  8:50 [edk2-staging/SmmCpuFeaturesLib_AMD][PATCH 1/4] Add X86 folder Chang, Abner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox