summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2024-10-12 14:32:40 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-10-16 04:06:42 +0000
commita232e0cd2fe2bb882a5dd0cafe322a2899a44d51 (patch)
tree392bce4c6a7eb629b202d36360730869e3b23355 /ShellPkg/Library/UefiShellDebug1CommandsLib
parent92c1274467fff3209d3bd29c2ed994b7f2be3efe (diff)
downloadedk2-a232e0cd2fe2bb882a5dd0cafe322a2899a44d51.zip
edk2-a232e0cd2fe2bb882a5dd0cafe322a2899a44d51.tar.gz
edk2-a232e0cd2fe2bb882a5dd0cafe322a2899a44d51.tar.bz2
UefiCpuPkg/PiSmmCpuDxeSmm: Save and restore CR2 only if SmiProfile enable
A page fault (#PF) that triggers an update to the page table only occurs if SmiProfile is enabled. Therefore, it is necessary to save and restore the CR2 register if SmiProfile is configured to be enabled. Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib')
0 files changed, 0 insertions, 0 deletions