2f931dda52dc6e20643c0842acf18c9f0b5a0097 |
|
30-Sep-2015 |
Star Zeng <star.zeng@intel.com> |
MdeModulePkg UefiBootManagerLib: Do not assume perf entry count has no change Current implementation assumes the performance entry count has no change from multiple GetPerformanceMeasurement() while loops, it may cause the allocated buffer for PerfEntriesAsDxeHandle at the first loop to be overflowed if the following loop has the count changed. This patch is also to sync the change at commit R17851 "IntelFrameworkModulePkg GenericBdsLib: Resolve array size mismatch". Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18561 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|
88cbb6be4e68f50673cfaede8814b669957f51c8 |
|
09-Sep-2015 |
Ruiyu Ni <ruiyu.ni@intel.com> |
MdeModulePkg: Fix a performance data buffer overrun issue The mBmPerfHeader.Count isn't reset to 0 in BmWriteBootToOsPerformanceData() so when the actual performance data entry count exceeds the LimitCount, the performance data collection breaks on condition if (mBmPerfHeader.Count == LimitCount), but 2nd time calling this function will not break on condition if (mBmPerfHeader.Count == LimitCount) because the mBmPerfHeader.Count always bigger than LimitCount, which results buffer overrun. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18417 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|
0ec2bfc8578af1bfbd33445dddc78fb4867d4adf |
|
07-Jul-2015 |
Qiu Shumin <shumin.qiu@intel.com> |
MdeModulePkg: Use StrnCpyS instead of StrCpyS to indicate the copy length from the source. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17841 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|
b6344b37c98a78c2a9f3b8522eb2ccbda22bc573 |
|
01-Jul-2015 |
Qiu Shumin <shumin.qiu@intel.com> |
MdeModulePkg/Library/UefiBootManagerLib: Use safe string functions to refine code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17782 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|
067ed98a734eabd311b8c2c8ebd48b67e0242afa |
|
13-May-2015 |
Ruiyu Ni <ruiyu.ni@intel.com> |
MdeModulePkg: Fix EOL to be DOS format. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17421 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|
1d1122292572cbaf73d8e8d2d39d01a8a28da76a |
|
06-May-2015 |
Ruiyu Ni <ruiyu.ni@intel.com> |
MdeModulePkg: Add UefiBootManagerLib UefiBootManagerLib provides: load option library functions; hot key library functions; boot library functions; connect and disconnect library functions; driver health library functions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17327 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/BmPerformance.c
|