mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-26 02:58:39 +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);
|
||||
mDebugInfoTableHeader.EfiDebugImageInfoTable = NewTable;
|
||||
//
|
||||
// Set the first empty entry index to be the original max table entries.
|
||||
//
|
||||
Index = mMaxTableEntries;
|
||||
//
|
||||
// Enlarge the max table entries.
|
||||
//
|
||||
mMaxTableEntries += EFI_PAGE_SIZE / EFI_DEBUG_TABLE_ENTRY_SIZE;
|
||||
@ -222,11 +226,7 @@ CoreNewDebugImageInfoEntry (
|
||||
//
|
||||
// Update the table header
|
||||
//
|
||||
Table = NewTable;
|
||||
//
|
||||
// Set the first empty entry index to be the original max table entries.
|
||||
//
|
||||
Index = mMaxTableEntries;
|
||||
Table = NewTable;
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user