mirror of https://github.com/acidanthera/audk.git
Fix IPF alignment fault caused by addition of BASE_LIST type that was added to resolve the X64 GCC VA_LIST issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8452 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
97f778151b
commit
6916d99cb7
|
@ -49,7 +49,7 @@ DebugPrint (
|
|||
...
|
||||
)
|
||||
{
|
||||
UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE / sizeof (UINT64)];
|
||||
UINT64 Buffer[(EFI_STATUS_CODE_DATA_MAX_SIZE / sizeof (UINT64)) + 1];
|
||||
EFI_DEBUG_INFO *DebugInfo;
|
||||
UINTN TotalSize;
|
||||
VA_LIST VaListMarker;
|
||||
|
@ -90,7 +90,7 @@ DebugPrint (
|
|||
//
|
||||
// Fill in EFI_DEBUG_INFO
|
||||
//
|
||||
DebugInfo = (EFI_DEBUG_INFO *)Buffer;
|
||||
DebugInfo = (EFI_DEBUG_INFO *)(Buffer) + 1;
|
||||
DebugInfo->ErrorLevel = (UINT32)ErrorLevel;
|
||||
BaseListMarker = (BASE_LIST)(DebugInfo + 1);
|
||||
FormatString = (CHAR8 *)((UINT64 *)(DebugInfo + 1) + 12);
|
||||
|
|
Loading…
Reference in New Issue