]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/UefiCpuPkg.dec
UefiCpuPkg: Add PiSmmCpuDxeSmm module no IA32/X64 files
authorMichael Kinney <michael.d.kinney@intel.com>
Mon, 19 Oct 2015 19:12:53 +0000 (19:12 +0000)
committermdkinney <mdkinney@Edk2>
Mon, 19 Oct 2015 19:12:53 +0000 (19:12 +0000)
commit529a5a860996b5e83941bab50a7b8604139264a1
tree6ebd59caac711e0cb9b8a112b3901641212bb2a8
parent406c72005499e8c6066231aa3c2be378fed13ed9
UefiCpuPkg: Add PiSmmCpuDxeSmm module no IA32/X64 files

Add module that initializes a CPU for the SMM environment and
installs the first level SMI handler.  This module along with the
SMM IPL and SMM Core provide the services required for
DXE_SMM_DRIVERS to register hardware and software SMI handlers.

CPU specific features are abstracted through the SmmCpuFeaturesLib

Platform specific features are abstracted through the
SmmCpuPlatformHookLib

Several PCDs are added to enable/disable features and configure
settings for the PiSmmCpuDxeSmm module

Changes between [PATCH v1] and [PATCH v2]:
1) Swap PTE init order for QEMU compatibility.
   Current PTE initialization algorithm works on HW but breaks QEMU
   emulator.  Update the PTE initialization order to be compatible
   with both.
2) Update comment block that describes 32KB SMBASE alignment requirement
   to match contents of Intel(R) 64 and IA-32 Architectures Software
   Developer's Manual
3) Remove BUGBUG comment and call to ClearSmi() that is not required.
   SMI should be cleared by root SMI handler.

[jeff.fan@intel.com: Fix code style issues reported by ECC]

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
[pbonzini@redhat.com: InitPaging: prepare PT before filling in PDE]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18645 6f19259b-4bc3-4df7-8a09-765794883524
16 files changed:
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.h [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.uni [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmmExtra.uni [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/SmramSaveState.c [new file with mode: 0644]
UefiCpuPkg/PiSmmCpuDxeSmm/SyncTimer.c [new file with mode: 0644]
UefiCpuPkg/UefiCpuPkg.dec
UefiCpuPkg/UefiCpuPkg.uni