]> git.proxmox.com Git - mirror_edk2.git/commit
Fix bugs in SmmBaseHelper driver.
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 Jan 2010 09:28:48 +0000 (09:28 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 Jan 2010 09:28:48 +0000 (09:28 +0000)
commitf76edcfd29669e594fb2899ba41d06e33228aeba
tree4765a0e767686be3648928353ab387c544fdab51
parent76bc52ed4f98749ea0b22ede9401a6f32c0adfe3
Fix bugs in SmmBaseHelper driver.
1. Should use sizeof(EFI_SMM_CPU_SAVE_STATE) instead of sizeof (EFI_SMI_CPU_SAVE_STATE) to allocate buffer for CpuSaveState in Framework SMST;
2. The type of Width parameter for ReadSaveState() and WriteSaveState() functions of SMM CPU Protocol is UINTN instead of an enumeration type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9678 6f19259b-4bc3-4df7-8a09-765794883524
EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.c