diff options
author | Jian J Wang <jian.j.wang@intel.com> | 2018-08-20 11:31:00 +0800 |
---|---|---|
committer | Jian J Wang <jian.j.wang@intel.com> | 2018-08-30 07:22:30 +0800 |
commit | dcc026217fdc363f55c217039fc43d344f69fed6 (patch) | |
tree | e4604fd52c48ec0bf0d463a2c8ca455f18d8102a /BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py | |
parent | 16b918bbaf51211a32ae04d9d8a5ba6ccca25a6a (diff) | |
download | edk2-dcc026217fdc363f55c217039fc43d344f69fed6.tar.gz edk2-dcc026217fdc363f55c217039fc43d344f69fed6.tar.bz2 edk2-dcc026217fdc363f55c217039fc43d344f69fed6.zip |
UefiCpuPkg/CpuDxe: implement non-stop mode for uefi
Same as SMM profile feature, a special #PF is used to set page attribute
to 'present' and a special #DB handler to reset it back to 'not-present',
right after the instruction causing #PF got executed.
Since the new #PF handler won't enter into dead-loop, the instruction
which caused the #PF will get chance to re-execute with accessible pages.
The exception message will still be printed out on debug console so that
the developer/QA can find that there's potential heap overflow or null
pointer access occurred.
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 'BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py')
0 files changed, 0 insertions, 0 deletions