mirror of https://github.com/acidanthera/audk.git
c10e5703fe
The purpose of writing CR3 in ConvertMemoryPageToNotPresent is just to flush TLB, because CR3 won't be changed in function ConvertMemoryPageToNotPresent. After ConvertMemoryPageToNotPresent, there is always a flush TLB function. Also, because ConvertMemoryPageToNotPresent in called in a loop, to improve performance, there is no need to flush TLB inside ConvertMemoryPageToNotPresent. Just flushing TLB after the loop is enough. Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com> |
||
---|---|---|
.. | ||
CpuBist.c | ||
CpuMp2Pei.c | ||
CpuMpPei.c | ||
CpuMpPei.h | ||
CpuMpPei.inf | ||
CpuMpPei.uni | ||
CpuMpPeiExtra.uni | ||
CpuPaging.c |