]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg SmiHandlerProfile: Use fixed data type in data structure
authorStar Zeng <star.zeng@intel.com>
Tue, 23 May 2017 02:51:13 +0000 (10:51 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 24 May 2017 07:27:34 +0000 (15:27 +0800)
commitf248539538efd522a71c1e9bf63c622e02d443f4
treebcbbb4560a8481a8bf633ff0c47a439f9453a864
parent8ced192d5cf1e8ccd56fa5daed2c2ca28fb04cff
MdeModulePkg SmiHandlerProfile: Use fixed data type in data structure

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=568

Use fixed data type in data structure and make the structure
be natural aligned.
Without this update, the code must assume DXE and SMM are using
same data type (same size of UINTN), but it may be not true at
some case, for example, after standalone SMM feature is enabled.
With this update, the data structure will be phase independent
and convenient for consumer to parse the data.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
MdeModulePkg/Core/PiSmmCore/SmiHandlerProfile.c
MdeModulePkg/Include/Guid/SmiHandlerProfile.h