mirror of https://github.com/acidanthera/audk.git
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:
parent
a4ac31e0a0
commit
c14164f4f3
|
@ -55,6 +55,10 @@ COMPONENT_TYPE = LIBRARY
|
||||||
[sources.ebc]
|
[sources.ebc]
|
||||||
Ebc/PerformancePrimitives.c
|
Ebc/PerformancePrimitives.c
|
||||||
|
|
||||||
|
[sources.ARM]
|
||||||
|
Ebc/PerformancePrimitives.c
|
||||||
|
|
||||||
|
|
||||||
[includes.common]
|
[includes.common]
|
||||||
$(EDK_SOURCE)/Foundation
|
$(EDK_SOURCE)/Foundation
|
||||||
$(EDK_SOURCE)/Foundation/Framework
|
$(EDK_SOURCE)/Foundation/Framework
|
||||||
|
@ -84,5 +88,6 @@ COMPONENT_TYPE = LIBRARY
|
||||||
|
|
||||||
[libraries.ipf]
|
[libraries.ipf]
|
||||||
CpuIA64Lib
|
CpuIA64Lib
|
||||||
|
|
||||||
|
|
||||||
[nmake.common]
|
[nmake.common]
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 2004 - 2006, Intel Corporation. All rights reserved.<BR>
|
||||||
|
This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.php
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
CpuFuncs.h
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#ifndef _CPU_FUNCS_H_
|
||||||
|
#define _CPU_FUNCS_H_
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,26 @@
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
|
||||||
|
This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.php
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
ProcDep.h
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
IA-32 specific Runtime Lib code. At this time there is non.
|
||||||
|
IPF has different code due to extra API requirements.
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#ifndef _PROC_DEP_H_
|
||||||
|
#define _PROC_DEP_H_
|
||||||
|
|
||||||
|
#endif
|
|
@ -27,6 +27,7 @@ Abstract:
|
||||||
#ifndef _LINKED_LIST_H_
|
#ifndef _LINKED_LIST_H_
|
||||||
#define _LINKED_LIST_H_
|
#define _LINKED_LIST_H_
|
||||||
|
|
||||||
|
#ifndef _SHELL_LINKED_LIST_H_
|
||||||
|
|
||||||
typedef struct _EFI_LIST_ENTRY {
|
typedef struct _EFI_LIST_ENTRY {
|
||||||
struct _EFI_LIST_ENTRY *ForwardLink;
|
struct _EFI_LIST_ENTRY *ForwardLink;
|
||||||
|
@ -308,3 +309,4 @@ Returns:
|
||||||
;
|
;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -68,6 +68,13 @@ COMPONENT_TYPE = LIBRARY
|
||||||
# X64/EfiZeroMem.asm
|
# X64/EfiZeroMem.asm
|
||||||
Math.c
|
Math.c
|
||||||
|
|
||||||
|
[sources.ARM]
|
||||||
|
EfiCopyMem.c
|
||||||
|
EfiSetMem.c
|
||||||
|
EfiZeroMem.c
|
||||||
|
Math.c
|
||||||
|
|
||||||
|
|
||||||
[includes.common]
|
[includes.common]
|
||||||
$(EDK_SOURCE)/Foundation
|
$(EDK_SOURCE)/Foundation
|
||||||
$(EDK_SOURCE)/Foundation/Framework
|
$(EDK_SOURCE)/Foundation/Framework
|
||||||
|
|
|
@ -332,8 +332,12 @@ Returns:
|
||||||
// The first 12 * UINTN bytes of the string are really an
|
// The first 12 * UINTN bytes of the string are really an
|
||||||
// arguement stack to support varargs on the Format string.
|
// 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);
|
*Marker = (VA_LIST) (DebugInfo + 1);
|
||||||
*Format = (CHAR8 *)(((UINT64 *)*Marker) + 12);
|
*Format = (CHAR8 *)(((UINT64 *)*Marker) + 12);
|
||||||
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 2005, Intel Corporation. All rights reserved.<BR>
|
||||||
|
This program and the accompanying materials
|
||||||
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
http://opensource.org/licenses/bsd-license.php
|
||||||
|
|
||||||
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
|
Module Name:
|
||||||
|
|
||||||
|
PerformancePrimitives.c
|
||||||
|
|
||||||
|
Abstract:
|
||||||
|
|
||||||
|
Support for Performance library
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
#include "TianoCommon.h"
|
||||||
|
#include "CpuIA32.h"
|
||||||
|
|
||||||
|
EFI_STATUS
|
||||||
|
GetTimerValue (
|
||||||
|
OUT UINT64 *TimerValue
|
||||||
|
)
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Routine Description:
|
||||||
|
|
||||||
|
Get timer value.
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
|
||||||
|
TimerValue - Pointer to the returned timer value
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
|
||||||
|
EFI_SUCCESS - Successfully got timer value
|
||||||
|
|
||||||
|
--*/
|
||||||
|
{
|
||||||
|
// CPU does not have a timer for ARM....
|
||||||
|
ASSERT (FALSE);
|
||||||
|
return EFI_SUCCESS;
|
||||||
|
}
|
|
@ -72,7 +72,9 @@ COMPONENT_TYPE = LIBRARY
|
||||||
Ipf/HwAccess.s
|
Ipf/HwAccess.s
|
||||||
Ipf/PeiServicePointer.c
|
Ipf/PeiServicePointer.c
|
||||||
|
|
||||||
|
[sources.ARM]
|
||||||
|
Arm/PerformancePrimitives.c
|
||||||
|
|
||||||
[libraries.common]
|
[libraries.common]
|
||||||
EdkGuidLib
|
EdkGuidLib
|
||||||
EfiCommonLib
|
EfiCommonLib
|
||||||
|
|
Loading…
Reference in New Issue