edk2/MdeModulePkg/Library/DxeCorePerformanceLib
Wei6 Xu 95bf74fac1 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 <wei6.xu@intel.com>
2025-03-26 09:59:01 +08:00
..
DxeCorePerformanceLib.c MdeModulePkg/DxeCorePerformanceLib: Fix incorrect size calculation 2025-03-26 09:59:01 +08:00
DxeCorePerformanceLib.inf MdeModulePkg/FPDT: Lock boot performance table address variable at EndOfDxe 2021-11-12 07:36:23 +00:00
DxeCorePerformanceLib.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DxeCorePerformanceLibInternal.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00