Dandan:
The last change in RuntimeDxeReportStatusCodeLib can be simplified. Other
change is good.
if (!mHaveExitedBootServices && (StatusCodeData != (EFI_STATUS_CODE_DATA *)
StatusCodeBuffer)) {
gBS->FreePool (StatusCodeData);
}
==>
if (StatusCodeData != (EFI_STATUS_CODE_DATA *)
From: Max Knutsen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1114
When report status code with ExtendedData data,
and the extended data can fit in the local static buffer,
there is no need to use AllocatePool to hold the ExtendedData data.
This patch is just to do the enhancement to
2 matches
Mail list logo