Ported more of EdkCompatabilityPkg to ARM to support SCT port.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10641 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish
2010-07-09 00:07:30 +00:00
parent a4ac31e0a0
commit c14164f4f3
8 changed files with 120 additions and 2 deletions

View File

@@ -68,6 +68,13 @@ COMPONENT_TYPE = LIBRARY
# X64/EfiZeroMem.asm
Math.c
[sources.ARM]
EfiCopyMem.c
EfiSetMem.c
EfiZeroMem.c
Math.c
[includes.common]
$(EDK_SOURCE)/Foundation
$(EDK_SOURCE)/Foundation/Framework

View File

@@ -332,8 +332,12 @@ Returns:
// The first 12 * UINTN bytes of the string are really an
// arguement stack to support varargs on the Format string.
//
#ifdef EFIARM
// It is not legal C code to case VA_LIST to a pointer. VA_LIST can
// be a structure.
#else
*Marker = (VA_LIST) (DebugInfo + 1);
*Format = (CHAR8 *)(((UINT64 *)*Marker) + 12);
#endif
return TRUE;
}