Skip to content

Commit

Permalink
uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
kuqin12 committed Apr 16, 2024
1 parent 434b9ac commit 86f1c6c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ AdvancedLoggerGetLoggerInfo (
);
CopyGuid (&GuidHobInterim->Name, &gAdvancedLoggerInterimHobGuid);
}

//
// No Logger Info - this must be the time to allocate a new LoggerInfo and save
// the pointer in the PeiCoreInstance.
Expand Down Expand Up @@ -597,6 +598,7 @@ AdvancedLoggerGetLoggerInfo (
if ((LoggerInfoSec != NULL) && !(LoggerInfoSec->InPermanentRAM)) {
UpdateSecLoggerInfo (LoggerInfo);
}

//
// Check to see if we have anything in the interim buffer
//
Expand All @@ -606,10 +608,11 @@ AdvancedLoggerGetLoggerInfo (
// If we have an interim buffer, copy it to the new buffer
//
LoggerInfo = (ADVANCED_LOGGER_INFO *)GET_GUID_HOB_DATA (GuidHobInterimBuf);
LogEntry = (ADVANCED_LOGGER_MESSAGE_ENTRY_V2 *)(UINTN)LoggerInfo->LogBuffer;
LogEntry = (ADVANCED_LOGGER_MESSAGE_ENTRY_V2 *)(UINTN)LoggerInfo->LogBuffer;
AdvancedLoggerMemoryLoggerWrite (LogEntry->DebugLevel, LogEntry->MessageText, LogEntry->MessageLen);
GuidHobInterimBuf = GetNextGuidHob (&gAdvancedLoggerInterimHobGuid, GuidHobInterimBuf);
}

//
// Publish the Advanced Logger Ppi
//
Expand Down

0 comments on commit 86f1c6c

Please sign in to comment.