UefiCpuPkg: CpuIo2Smm: Abstract SMM specific functions into separate file

This change abstracts CpuIo2Smm driver entrypoint into separate file and
moves functions/definitions that are not substantially specific to
Traditional MM (SMM) into CpuIo2Mm.* in order to set ways for Standalone
MM support in the future.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>

Signed-off-by: Kun Qin <kun.q@outlook.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
Kun Qin
2021-01-11 19:00:05 -08:00
parent e414a3e936
commit 1ea21af13d
4 changed files with 421 additions and 381 deletions

View File

@@ -24,7 +24,8 @@
[Sources]
CpuIo2Smm.c
CpuIo2Smm.h
CpuIo2Mm.c
CpuIo2Mm.h
[Packages]
MdePkg/MdePkg.dec