Skip to content

Commit

Permalink
Merge branch 'release/202311' into fix_morlock_test
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlautner authored May 14, 2024
2 parents 226bd31 + 927dbf8 commit 6f3ae2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ AdvancedLoggerAccessLibUnitTestInitialize (
if (!EFI_ERROR (Status)) {
mLoggerInfo = LOGGER_INFO_FROM_PROTOCOL (LoggerProtocol);
mLowAddress = PA_FROM_PTR (LOG_BUFFER_FROM_ALI (mLoggerInfo));
mHighAddress = PA_FROM_PTR (TOTAL_LOG_SIZE_WITH_ALI (mLoggerInfo));
mHighAddress = PA_FROM_PTR (LOG_MAX_ADDRESS (mLoggerInfo));
}

return Status;
Expand All @@ -466,7 +466,7 @@ AdvancedLoggerAccessLibConstructor (
if (!EFI_ERROR (Status)) {
mLoggerInfo = LOGGER_INFO_FROM_PROTOCOL (LoggerProtocol);
mLowAddress = PA_FROM_PTR (LOG_BUFFER_FROM_ALI (mLoggerInfo));
mHighAddress = PA_FROM_PTR (TOTAL_LOG_SIZE_WITH_ALI (mLoggerInfo));
mHighAddress = PA_FROM_PTR (LOG_MAX_ADDRESS (mLoggerInfo));

// Leave this debug message as ERROR.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ DxeCoreAdvancedLoggerLibConstructor (
LoggerInfo->HdwPortInitialized = TRUE;
}

mMaxAddress = TOTAL_LOG_SIZE_WITH_ALI (LoggerInfo);
mMaxAddress = LOG_MAX_ADDRESS (LoggerInfo);
mBufferSize = LoggerInfo->LogBufferSize;
} else {
DEBUG ((DEBUG_ERROR, "%a: Error allocating Advanced Logger Buffer\n", __FUNCTION__));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ InitializeInMemoryLog (
if (!EFI_ERROR (Status)) {
mLoggerInfo = LOGGER_INFO_FROM_PROTOCOL (LoggerProtocol);
if (mLoggerInfo != NULL) {
mMaxAddress = TOTAL_LOG_SIZE_WITH_ALI (mLoggerInfo);
mMaxAddress = LOG_MAX_ADDRESS (mLoggerInfo);
mBufferSize = mLoggerInfo->LogBufferSize;
}

Expand Down

0 comments on commit 6f3ae2b

Please sign in to comment.