summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2018-08-09 16:17:19 +0800
committerJian J Wang <jian.j.wang@intel.com>2018-08-30 07:22:29 +0800
commit16b918bbaf51211a32ae04d9d8a5ba6ccca25a6a (patch)
treee860f3d6a6c77f63b63b7ba6ce95a06e171da88b /UefiCpuPkg/CpuDxe
parent8f2613628acf601a2a17bb64bb49ef73f85cfe2c (diff)
downloadedk2-16b918bbaf51211a32ae04d9d8a5ba6ccca25a6a.tar.gz
edk2-16b918bbaf51211a32ae04d9d8a5ba6ccca25a6a.tar.bz2
edk2-16b918bbaf51211a32ae04d9d8a5ba6ccca25a6a.zip
UefiCpuPkg/CpuExceptionHandlerLib: Setup single step in #PF handler
Once the #PF handler has set the page to be 'present', there should be a way to reset it to 'not-present'. 'TF' bit in EFLAGS can be used for this purpose. 'TF' bit will be set in interrupted function context so that it can be triggered once the cpu control returns back to the instruction causing #PF and re-execute it. This is an necessary step to implement non-stop mode for Heap Guard and NULL Pointer Detection feature. Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
0 files changed, 0 insertions, 0 deletions