audk/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32
Yao, Jiewen 53ba3fb8aa UefiCpuPkg/PiSmmCpu: Always set WP in CR0
So that we can use write-protection for code later.

It is REPOST.
It includes suggestion from Michael Kinney <michael.d.kinney@intel.com>:
- "For IA32 assembly, can we combine into a single OR instruction that
  sets both page enable and WP?"
- "For X64, does it make sense to use single OR instruction instead of 2
  BTS instructions as well?"

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Suggested-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Cc: "Fan, Jeff" <jeff.fan@intel.com>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: "Laszlo Ersek" <lersek@redhat.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19068 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-30 19:57:45 +00:00
..
MpFuncs.S UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
MpFuncs.asm UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
PageTbl.c UefiCpuPkg/PiSmmCpu: Always set RW+P bit for page table by default 2015-11-30 19:57:40 +00:00
Semaphore.c UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
SmiEntry.S UefiCpuPkg/PiSmmCpu: Always set WP in CR0 2015-11-30 19:57:45 +00:00
SmiEntry.asm UefiCpuPkg/PiSmmCpu: Always set WP in CR0 2015-11-30 19:57:45 +00:00
SmiException.S Correct TSS segment. 2015-11-25 04:01:00 +00:00
SmiException.asm Correct TSS segment. 2015-11-25 04:01:00 +00:00
SmmFuncsArch.c Eliminate EFI_IMAGE_MACHINE_TYPE_SUPPORTED. 2015-11-25 04:23:01 +00:00
SmmInit.S UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
SmmInit.asm UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
SmmProfileArch.c UefiCpuPkg/PiSmmCpu: Always set RW+P bit for page table by default 2015-11-30 19:57:40 +00:00
SmmProfileArch.h UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00