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

@@ -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;
}

View File

@@ -72,7 +72,9 @@ COMPONENT_TYPE = LIBRARY
Ipf/HwAccess.s
Ipf/PeiServicePointer.c
[sources.ARM]
Arm/PerformancePrimitives.c
[libraries.common]
EdkGuidLib
EfiCommonLib