EdkCompatabilityPkg: Fix build issues with X64 clang
Removed passing VA_LIST and some assembly language compatability issues. Did not fix ReportStatusCode passing VA_LIST (non-ANSI C Code), and some of the assembler was not not ported and int 3 was inserted, as it likely is not needed. signed-off-by: andrewfish reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12006 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -332,9 +332,10 @@ Returns:
|
||||
// The first 12 * UINTN bytes of the string are really an
|
||||
// arguement stack to support varargs on the Format string.
|
||||
//
|
||||
#ifdef EFIARM
|
||||
#if (defined (EFIARM) || defined(__APPLE__))
|
||||
// It is not legal C code to case VA_LIST to a pointer. VA_LIST can
|
||||
// be a structure.
|
||||
return FALSE;
|
||||
#else
|
||||
*Marker = (VA_LIST) (DebugInfo + 1);
|
||||
*Format = (CHAR8 *)(((UINT64 *)*Marker) + 12);
|
||||
|
Reference in New Issue
Block a user