#/** @file\r
-# \r
+#\r
# DXE CPU driver\r
-# \r
-# Copyright (c) 2009, Apple Inc. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+#\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
+#\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-# \r
+#\r
#**/\r
\r
[Defines]\r
\r
ENTRY_POINT = CpuDxeInitialize\r
\r
-[Sources.ARM]\r
+[Sources.Common]\r
CpuDxe.c\r
CpuDxe.h\r
- DebugSupport.c\r
+ CpuMpCore.c\r
+ CpuMmuCommon.c\r
Exception.c\r
\r
-#\r
-# Prior to ARMv6 we have multiple stacks, one per mode\r
-#\r
-# ExceptionSupport.asm | RVCT\r
- ExceptionSupport.S | GCC\r
+[Sources.ARM]\r
+ Arm/Mmu.c\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
+[Sources.AARCH64]\r
+ AArch64/Mmu.c\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
+ ArmMmuLib\r
BaseMemoryLib\r
CacheMaintenanceLib\r
+ CpuLib\r
+ CpuExceptionHandlerLib\r
+ DebugLib\r
+ DefaultExceptionHandlerLib\r
+ DxeServicesTableLib\r
+ HobLib\r
+ PeCoffGetEntryPointLib\r
UefiDriverEntryPoint\r
- ArmLib\r
+ UefiLib\r
\r
[Protocols]\r
gEfiCpuArchProtocolGuid\r
- gEfiDebugSupportPeriodicCallbackProtocolGuid\r
+\r
+[Guids]\r
+ gEfiDebugImageInfoTableGuid\r
+ gArmMpCoreInfoGuid\r
+ gIdleLoopEventGuid\r
+ gEfiVectorHandoffTableGuid\r
\r
[Pcd.common]\r
- gArmTokenSpaceGuid.PcdCpuVectorBaseAddress\r
- \r
+ gArmTokenSpaceGuid.PcdVFPEnabled\r
+\r
[FeaturePcd.common]\r
- gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport\r
+ gArmTokenSpaceGuid.PcdDebuggerExceptionSupport\r
\r
-[depex]\r
- gHardwareInterruptProtocolGuid\r
+[Depex]\r
+ TRUE\r