diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2024-07-12 16:05:02 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-02 05:13:42 +0000 |
commit | 9d8a5fbd0ca7ed563544e71d2dbdd23b0a3f53e3 (patch) | |
tree | 859974f7ed958d311db97d1dddcec1720aa61d0d /DynamicTablesPkg | |
parent | bbee1cc852fa8676ed0b530b1c67c92f32f4f740 (diff) | |
download | edk2-9d8a5fbd0ca7ed563544e71d2dbdd23b0a3f53e3.tar.gz |
UefiCpuPkg/PiSmmCpuDxeSmm: Enable single step after SmmProfile start
There is a bug in the existing code: the single step is always enabled
once the Page Fault (#PF) occurs, but it is only disabled when the SMM
Profile feature actually starts (see DebugExceptionHandler).
If the SMM Profile feature has not been started, this will result in
the single-step mode remaining enabled if a Page Fault occurs.
This patch is to enable the single-step debugging mode by setting the
Trap Flag only after SmmProfile feature starts.
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'DynamicTablesPkg')
0 files changed, 0 insertions, 0 deletions