Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 95bf74fac1977a083234518933393939145160fc
https://github.com/tianocore/edk2/commit/95bf74fac1977a083234518933393939145160fc
Author: Wei6 Xu <[email protected]>
Date: 2025-03-26 (Wed, 26 Mar 2025)
Changed paths:
M MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
Log Message:
-----------
MdeModulePkg/DxeCorePerformanceLib: Fix incorrect size calculation
The values of BootRecordDataPayloadSize and CommSize are incorrect.
BootRecordDataPayloadSize should equal to
SmmBootRecordDataSize - SmmBootRecordDataRetrieved
CommSize should equal to
OFFSET_OF (EFI_MM_COMMUNICATE_HEADER,Data) \
+ (UINTN)MmCommBufferHeader->MessageLength
SmmCommData->BootRecordSize should be set to BootRecordDataPayloadSize,
instead of the total size of entire Smm boot record data.
Signed-off-by: Wei6 Xu <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits