# \r
# DXE CPU driver\r
# \r
-# Copyright (c) 2009, Apple Inc. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2009, Apple Inc. All rights reserved.<BR>\r
+# Copyright (c) 2011-2013, ARM Limited. All rights reserved.\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
\r
ENTRY_POINT = CpuDxeInitialize\r
\r
-[Sources.ARM]\r
+[Sources.Common]\r
CpuDxe.c\r
CpuDxe.h\r
- DebugSupport.c\r
- Exception.c\r
+ CpuMpCore.c\r
+ CpuMmuCommon.c\r
\r
#\r
# Prior to ARMv6 we have multiple stacks, one per mode\r
#\r
-# ExceptionSupport.asm | RVCT\r
- ExceptionSupport.S | GCC\r
+# ArmV4/ExceptionSupport.asm | RVCT\r
+# ArmV4/ExceptionSupport.S | GCC\r
\r
#\r
# ARMv6 or later uses a single stack via srs/stm instructions\r
#\r
- ExceptionSupport.ARMv6.asm | RVCT\r
-# ExceptionSupport.ARMv6.S | GCC\r
- Mmu.c\r
\r
+[Sources.ARM]\r
+ ArmV6/Mmu.c\r
+ ArmV6/Exception.c\r
+ ArmV6/ExceptionSupport.asm | RVCT\r
+ ArmV6/ExceptionSupport.S | GCC\r
+\r
+[Sources.AARCH64]\r
+ AArch64/Mmu.c\r
+ AArch64/Exception.c\r
+ AArch64/ExceptionSupport.S\r
\r
[Packages]\r
ArmPkg/ArmPkg.dec\r
EmbeddedPkg/EmbeddedPkg.dec\r
MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
+ ArmLib\r
BaseMemoryLib\r
CacheMaintenanceLib\r
- UefiDriverEntryPoint\r
- ArmLib\r
+ CpuLib\r
+ DebugLib\r
+ DefaultExceptionHandlerLib\r
DxeServicesTableLib\r
+ HobLib\r
PeCoffGetEntryPointLib\r
+ UefiDriverEntryPoint\r
UefiLib\r
- CpuLib\r
- DefaultExceptioHandlerLib\r
\r
[Protocols]\r
gEfiCpuArchProtocolGuid\r
\r
[Guids]\r
gEfiDebugImageInfoTableGuid\r
+ gArmMpCoreInfoGuid\r
+ gIdleLoopEventGuid\r
\r
[Pcd.common]\r
+ gArmTokenSpaceGuid.PcdVFPEnabled\r
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress\r
\r
[FeaturePcd.common]\r
gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport\r
+ gArmTokenSpaceGuid.PcdRelocateVectorTable\r
+ gArmTokenSpaceGuid.PcdDebuggerExceptionSupport\r
\r
-[depex]\r
- gHardwareInterruptProtocolGuid\r
+[Depex]\r
+ TRUE\r