mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-26 11:08:42 +02:00
MdeModulePkg/Core: Fix DxeCore entry not being added to DebugTable
Signed-off-by: Vitaly Cheptsov <vit9696@protonmail.com>
This commit is contained in:
parent
d230c91de9
commit
0dfb926bb5
@ -212,6 +212,10 @@ CoreNewDebugImageInfoEntry (
|
|||||||
CopyMem (NewTable, Table, TableSize);
|
CopyMem (NewTable, Table, TableSize);
|
||||||
mDebugInfoTableHeader.EfiDebugImageInfoTable = NewTable;
|
mDebugInfoTableHeader.EfiDebugImageInfoTable = NewTable;
|
||||||
//
|
//
|
||||||
|
// Set the first empty entry index to be the original max table entries.
|
||||||
|
//
|
||||||
|
Index = mMaxTableEntries;
|
||||||
|
//
|
||||||
// Enlarge the max table entries.
|
// Enlarge the max table entries.
|
||||||
//
|
//
|
||||||
mMaxTableEntries += EFI_PAGE_SIZE / EFI_DEBUG_TABLE_ENTRY_SIZE;
|
mMaxTableEntries += EFI_PAGE_SIZE / EFI_DEBUG_TABLE_ENTRY_SIZE;
|
||||||
@ -222,11 +226,7 @@ CoreNewDebugImageInfoEntry (
|
|||||||
//
|
//
|
||||||
// Update the table header
|
// Update the table header
|
||||||
//
|
//
|
||||||
Table = NewTable;
|
Table = NewTable;
|
||||||
//
|
|
||||||
// Set the first empty entry index to be the original max table entries.
|
|
||||||
//
|
|
||||||
Index = mMaxTableEntries;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user