2009-12-06 02:57:05 +01:00
|
|
|
#/** @file
|
|
|
|
#
|
|
|
|
# DXE CPU driver
|
|
|
|
#
|
2010-04-29 14:15:47 +02:00
|
|
|
# Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
|
2013-07-18 08:20:33 +02:00
|
|
|
# Copyright (c) 2011-2013, ARM Limited. All rights reserved.
|
2011-06-20 23:35:50 +02:00
|
|
|
#
|
2010-04-29 14:15:47 +02:00
|
|
|
# This program and the accompanying materials
|
2009-12-06 02:57:05 +01:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = ArmCpuDxe
|
|
|
|
FILE_GUID = B8D9777E-D72A-451F-9BDB-BAFB52A68415
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = CpuDxeInitialize
|
|
|
|
|
2012-09-28 12:52:16 +02:00
|
|
|
[Sources.Common]
|
2009-12-06 02:57:05 +01:00
|
|
|
CpuDxe.c
|
|
|
|
CpuDxe.h
|
2011-09-23 01:14:01 +02:00
|
|
|
CpuMpCore.c
|
2013-07-18 08:20:33 +02:00
|
|
|
CpuMmuCommon.c
|
2010-01-08 22:12:20 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Prior to ARMv6 we have multiple stacks, one per mode
|
|
|
|
#
|
2012-09-28 12:52:16 +02:00
|
|
|
# ArmV4/ExceptionSupport.asm | RVCT
|
|
|
|
# ArmV4/ExceptionSupport.S | GCC
|
2010-01-08 22:12:20 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# ARMv6 or later uses a single stack via srs/stm instructions
|
|
|
|
#
|
2012-09-28 12:52:16 +02:00
|
|
|
|
|
|
|
[Sources.ARM]
|
2013-03-12 01:49:42 +01:00
|
|
|
ArmV6/Mmu.c
|
|
|
|
ArmV6/Exception.c
|
2012-09-28 12:52:16 +02:00
|
|
|
ArmV6/ExceptionSupport.asm | RVCT
|
|
|
|
ArmV6/ExceptionSupport.S | GCC
|
2009-12-06 02:57:05 +01:00
|
|
|
|
2013-07-18 20:07:46 +02:00
|
|
|
[Sources.AARCH64]
|
|
|
|
AArch64/Mmu.c
|
|
|
|
AArch64/Exception.c
|
|
|
|
AArch64/ExceptionSupport.S | GCC
|
2010-01-27 03:47:47 +01:00
|
|
|
|
2009-12-06 02:57:05 +01:00
|
|
|
[Packages]
|
|
|
|
ArmPkg/ArmPkg.dec
|
|
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
|
|
MdePkg/MdePkg.dec
|
2011-06-20 23:35:50 +02:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2009-12-06 02:57:05 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
2011-09-23 01:14:01 +02:00
|
|
|
ArmLib
|
2009-12-06 02:57:05 +01:00
|
|
|
BaseMemoryLib
|
|
|
|
CacheMaintenanceLib
|
2011-09-23 00:53:54 +02:00
|
|
|
CpuLib
|
|
|
|
DebugLib
|
|
|
|
DefaultExceptionHandlerLib
|
2010-01-14 04:25:08 +01:00
|
|
|
DxeServicesTableLib
|
2011-09-23 01:14:01 +02:00
|
|
|
HobLib
|
2010-01-14 04:25:08 +01:00
|
|
|
PeCoffGetEntryPointLib
|
2011-09-23 01:14:01 +02:00
|
|
|
UefiDriverEntryPoint
|
2010-01-14 04:25:08 +01:00
|
|
|
UefiLib
|
2009-12-06 02:57:05 +01:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiCpuArchProtocolGuid
|
|
|
|
gEfiDebugSupportPeriodicCallbackProtocolGuid
|
2010-01-14 04:25:08 +01:00
|
|
|
gVirtualUncachedPagesProtocolGuid
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiDebugImageInfoTableGuid
|
2011-09-23 01:14:01 +02:00
|
|
|
gArmMpCoreInfoGuid
|
2011-06-20 23:35:50 +02:00
|
|
|
gIdleLoopEventGuid
|
2009-12-06 02:57:05 +01:00
|
|
|
|
|
|
|
[Pcd.common]
|
2011-02-02 23:35:30 +01:00
|
|
|
gArmTokenSpaceGuid.PcdVFPEnabled
|
2009-12-06 02:57:05 +01:00
|
|
|
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress
|
|
|
|
|
|
|
|
[FeaturePcd.common]
|
|
|
|
gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport
|
2011-02-02 23:35:30 +01:00
|
|
|
gArmTokenSpaceGuid.PcdRelocateVectorTable
|
2011-06-03 11:18:00 +02:00
|
|
|
gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
|
2009-12-06 02:57:05 +01:00
|
|
|
|
2011-06-20 23:30:51 +02:00
|
|
|
[Depex]
|
|
|
|
TRUE
|