On 3/1/24 03:54, Zhou Jianfeng wrote:
> Add volatile qualifier to page table related variable to prevent
> compiler from optimizing away the variables which may lead to
> unexpected result.
> 
> Signed-off-by: Zhou Jianfeng <jianfeng.z...@intel.com>
> Cc: Ray Ni <ray...@intel.com>
> Cc: Laszlo Ersek <ler...@redhat.com>
> Cc: Rahul Kumar <rahul1.ku...@intel.com>
> Cc: Gerd Hoffmann <kra...@redhat.com>
> Cc: Pedro Falcato <pedro.falc...@gmail.com>
> Cc: Zhang Di <di.zh...@intel.com>
> Cc: Tan Dun <dun....@intel.com>
> Cc: Michael Brown <mc...@ipxe.org>
> ---
>  .../Library/CpuPageTableLib/CpuPageTableMap.c | 36 +++++++++----------
>  1 file changed, 18 insertions(+), 18 deletions(-)

Merged as

     2  dcffad2491bc UefiCpuPkg/CpuPageTableLib: qualify page table accesses as 
volatile

via <https://github.com/tianocore/edk2/pull/5432>.

Unfortunately, the patch was formatted and/or posted incorrectly; git-am 
complained about "corrupt patch", no matter what I did about the 
quoted-printable encoding.

Therefore I had to manually reconstruct the patch (I noted that fact on the 
commit message).

Laszlo



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116281): https://edk2.groups.io/g/devel/message/116281
Mute This Topic: https://groups.io/mt/104661494/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to