]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuMp.h
UefiCpuPkg/MpSerivce: add volatile qualifiers
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Mon, 9 Mar 2015 06:45:26 +0000 (06:45 +0000)
committervanjeff <vanjeff@Edk2>
Mon, 9 Mar 2015 06:45:26 +0000 (06:45 +0000)
commit33f413f0d6d7620843717bbe1f22bf8d054a478f
treee74d40ec04ca5657d6765761bb46ffa7dc48404b
parent68f06742379437e412f9699cc3c82421f4684b67
UefiCpuPkg/MpSerivce: add volatile qualifiers

For avoid the compiler optimizing the code, we let Parameter and Procedure in CpuData volatile.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17024 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/CpuDxe/CpuMp.c
UefiCpuPkg/CpuDxe/CpuMp.h