> - PleB->Uint64 = LocalPleB.Uint64; > > + *(volatile UINT64 *)&(PleB->Uint64) = LocalPleB.Uint64;
Jianfeng, If "volatile" is to tell compiler to generate single "mov" instruction for the assignment. I am curious how it works in 32bit env where the general purpose registers are 32bit width? Thanks, Ray -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115581): https://edk2.groups.io/g/devel/message/115581 Mute This Topic: https://groups.io/mt/104256295/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-