Re: [edk2] [PATCH] MdeModulePkg SmiHandlerProfile: Use fixed data type in data structure

2017-05-23 Thread Yao, Jiewen
[PATCH] 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 SM

[edk2] [PATCH] MdeModulePkg SmiHandlerProfile: Use fixed data type in data structure

2017-05-22 Thread Star Zeng
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 stan