diff options
author | Achin Gupta <achin.gupta@arm.com> | 2018-12-03 12:50:54 +0530 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2018-12-09 16:01:27 +0000 |
commit | d4951425063b06014e4125779ac91222b931478e (patch) | |
tree | 2841ba14c62b4dbd31de064e26121b29ec79b94a /BaseTools/Source/Python/CommonDataClass/DataClass.py | |
parent | f8943176f09518c86275e6228d7ebd0a7748d0dc (diff) | |
download | edk2-d4951425063b06014e4125779ac91222b931478e.tar.gz edk2-d4951425063b06014e4125779ac91222b931478e.tar.bz2 edk2-d4951425063b06014e4125779ac91222b931478e.zip |
StandaloneMmPkg: Zero data structure explicitly
Introduction of the -mstrict-align flag results in GCC attempting
to use memset to zero out the InitMmFoundationSvcArgs structure.
In the absence of this C library function, this patch explicitly
zeroes this data structure prior to use.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
Reviewed-by: Achin Gupta <achin.gupta@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/DataClass.py')
0 files changed, 0 insertions, 0 deletions