summaryrefslogtreecommitdiffstats
path: root/FmpDevicePkg/Test
diff options
context:
space:
mode:
authorMin Xu <min.m.xu@intel.com>2022-02-14 14:31:57 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-02 08:15:12 +0000
commitccca1c2d5d1dcd3a1535062368a8572cb6c19dc6 (patch)
treede944c43ba2a42705a148c9ec7399a54a1a9f730 /FmpDevicePkg/Test
parentb22ac35b754d1a071e0b40adc47f7c53c3d77893 (diff)
downloadedk2-ccca1c2d5d1dcd3a1535062368a8572cb6c19dc6.tar.gz
edk2-ccca1c2d5d1dcd3a1535062368a8572cb6c19dc6.tar.bz2
edk2-ccca1c2d5d1dcd3a1535062368a8572cb6c19dc6.zip
OvmfPkg/Sec: Declare local variable as volatile in SecCoreStartupWithStack
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Declare the local variables in SecCoreStartupWithStack that actually move the data elements as volatile to prevent the optimizer from replacing this function with the intrinsic memcpy(). Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Min Xu <min.m.xu@intel.com>
Diffstat (limited to 'FmpDevicePkg/Test')
0 files changed, 0 insertions, 0 deletions