Add Aarch64 support to EdkCompatibilityPkg.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14533 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
e01a125f15
commit
373fbc6416
@@ -47,6 +47,9 @@ COMPONENT_TYPE = LIBRARY
|
||||
|
||||
[sources.ARM]
|
||||
Dummy.c
|
||||
|
||||
[sources.AARCH64]
|
||||
Dummy.c
|
||||
|
||||
[includes.common]
|
||||
$(EDK_SOURCE)/Foundation
|
||||
@@ -69,6 +72,9 @@ COMPONENT_TYPE = LIBRARY
|
||||
[libraries.ARM]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[libraries.AArch64]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[nmake.common]
|
||||
|
||||
[nmake.ia32,nmake.x64]
|
||||
|
@@ -58,6 +58,9 @@ COMPONENT_TYPE = LIBRARY
|
||||
[sources.ARM]
|
||||
Ebc/PerformancePrimitives.c
|
||||
|
||||
[sources.AArch64]
|
||||
Ebc/PerformancePrimitives.c
|
||||
|
||||
|
||||
[includes.common]
|
||||
$(EDK_SOURCE)/Foundation
|
||||
@@ -88,8 +91,11 @@ COMPONENT_TYPE = LIBRARY
|
||||
|
||||
[libraries.ipf]
|
||||
CpuIA64Lib
|
||||
|
||||
[libraries.ARM]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[libraries.ARM]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[libraries.AArch64]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[nmake.common]
|
||||
|
@@ -0,0 +1,26 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2013, ARM Ltd. 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:
|
||||
|
||||
AArch64 specific Runtime Lib code. At this time there is none.
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _PROC_DEP_H_
|
||||
#define _PROC_DEP_H_
|
||||
|
||||
#endif
|
@@ -74,6 +74,11 @@ COMPONENT_TYPE = LIBRARY
|
||||
EfiZeroMem.c
|
||||
Math.c
|
||||
|
||||
[sources.AArch64]
|
||||
EfiCopyMem.c
|
||||
EfiSetMem.c
|
||||
EfiZeroMem.c
|
||||
Math.c
|
||||
|
||||
[includes.common]
|
||||
$(EDK_SOURCE)/Foundation
|
||||
@@ -94,7 +99,10 @@ COMPONENT_TYPE = LIBRARY
|
||||
[libraries.common]
|
||||
EdkFrameworkGuidLib
|
||||
|
||||
[libraries.ARM]
|
||||
CompilerIntrinsicsLib
|
||||
[libraries.ARM]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[libraries.AArch64]
|
||||
CompilerIntrinsicsLib
|
||||
|
||||
[nmake.common]
|
||||
|
@@ -0,0 +1,48 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2013, ARM Ltd. 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"
|
||||
|
||||
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 AArch64 ...
|
||||
ASSERT (FALSE);
|
||||
return EFI_SUCCESS;
|
||||
}
|
@@ -1,13 +1,14 @@
|
||||
/*++
|
||||
/** @file
|
||||
|
||||
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.
|
||||
Copyright (c) 2013, ARM Ltd. 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:
|
||||
|
||||
@@ -20,7 +21,6 @@ Abstract:
|
||||
--*/
|
||||
|
||||
#include "TianoCommon.h"
|
||||
#include "CpuIA32.h"
|
||||
|
||||
EFI_STATUS
|
||||
GetTimerValue (
|
||||
|
@@ -71,10 +71,13 @@ COMPONENT_TYPE = LIBRARY
|
||||
Ipf/Ia_64Gen.h
|
||||
Ipf/HwAccess.s
|
||||
Ipf/PeiServicePointer.c
|
||||
|
||||
|
||||
[sources.ARM]
|
||||
Arm/PerformancePrimitives.c
|
||||
|
||||
|
||||
[sources.AArch64]
|
||||
AArch64/PerformancePrimitives.c
|
||||
|
||||
[libraries.common]
|
||||
EdkGuidLib
|
||||
EfiCommonLib
|
||||
|
Reference in New Issue
Block a user