ArmPkg: Added Aarch64 support
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> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14486 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
8477cb6e15
commit
25402f5d06
@@ -1,6 +1,6 @@
|
||||
/** @file
|
||||
|
||||
Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
|
||||
Copyright (c) 2011 - 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
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __ARM_V7_ARCH_TIMER_LIB_H__
|
||||
#define __ARM_V7_ARCH_TIMER_LIB_H__
|
||||
#ifndef __ARM_ARCH_TIMER_LIB_H__
|
||||
#define __ARM_ARCH_TIMER_LIB_H__
|
||||
|
||||
#define ARM_ARCH_TIMER_ENABLE (1 << 0)
|
||||
#define ARM_ARCH_TIMER_IMASK (1 << 1)
|
||||
@@ -36,7 +36,7 @@ typedef enum {
|
||||
CnthpCtl,
|
||||
CnthpCval,
|
||||
RegMaximum
|
||||
}ARM_ARCH_TIMER_REGS;
|
||||
} ARM_ARCH_TIMER_REGS;
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
@@ -112,4 +112,4 @@ ArmArchTimerSetCompareVal (
|
||||
IN UINT64 Val
|
||||
);
|
||||
|
||||
#endif // __ARM_V7_ARCH_TIMER_LIB_H__
|
||||
#endif // __ARM_ARCH_TIMER_LIB_H__
|
@@ -18,10 +18,16 @@
|
||||
|
||||
#include <Uefi/UefiBaseType.h>
|
||||
|
||||
#ifdef ARM_CPU_ARMv6
|
||||
#include <Chipset/ARM1176JZ-S.h>
|
||||
#ifdef MDE_CPU_ARM
|
||||
#ifdef ARM_CPU_ARMv6
|
||||
#include <Chipset/ARM1176JZ-S.h>
|
||||
#else
|
||||
#include <Chipset/ArmV7.h>
|
||||
#endif
|
||||
#elif defined(MDE_CPU_AARCH64)
|
||||
#include <Chipset/AArch64.h>
|
||||
#else
|
||||
#include <Chipset/ArmV7.h>
|
||||
#error "Unknown chipset."
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
@@ -501,6 +507,7 @@ ArmCallWFE (
|
||||
VOID
|
||||
EFIAPI
|
||||
ArmCallWFI (
|
||||
|
||||
VOID
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user