From: "Chang, Abner" <abner.chang@amd.com>
To: <devel@edk2.groups.io>
Cc: <jiangang.he@amd.com>, Abdul Lateef Attar <abdattar@amd.com>,
"Garrett Kirkendall" <garrett.kirkendall@amd.com>,
Paul Grimes <paul.grimes@amd.com>,
Eric Dong <eric.dong@intel.com>, Ray Ni <ray.ni@intel.com>,
Rahul Kumar <rahul1.kumar@intel.com>
Subject: [edk2-staging/SmmCpuFeaturesLib_AMD][PATCH 1/4] Add X86 folder
Date: Tue, 13 Sep 2022 16:50:51 +0800 [thread overview]
Message-ID: <20220913085051.1280-1-abner.chang@amd.com> (raw)
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
reply other threads:[~2022-09-13 8:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220913085051.1280-1-abner.chang@amd.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox