Adding support for a single stack, GCC check in will follow
[mirror_edk2.git] / ArmPkg / Drivers / CpuDxe / CpuDxe.inf
1 #/** @file
2 #
3 # DXE CPU driver
4 #
5 # Copyright (c) 2009, Apple Inc. <BR>
6 # All rights reserved. This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #**/
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = ArmCpuDxe
19 FILE_GUID = B8D9777E-D72A-451F-9BDB-BAFB52A68415
20 MODULE_TYPE = DXE_DRIVER
21 VERSION_STRING = 1.0
22
23 ENTRY_POINT = CpuDxeInitialize
24
25 [Sources.ARM]
26 CpuDxe.c
27 CpuDxe.h
28 DebugSupport.c
29 Exception.c
30
31 #
32 # Prior to ARMv6 we have multiple stacks, one per mode
33 #
34 # ExceptionSupport.asm | RVCT
35 ExceptionSupport.S | GCC
36
37 #
38 # ARMv6 or later uses a single stack via srs/stm instructions
39 #
40 ExceptionSupport.ARMv6.asm | RVCT
41 # ExceptionSupport.ARMv6.S | GCC
42
43 [Packages]
44 ArmPkg/ArmPkg.dec
45 EmbeddedPkg/EmbeddedPkg.dec
46 MdePkg/MdePkg.dec
47
48 [LibraryClasses]
49 BaseMemoryLib
50 CacheMaintenanceLib
51 UefiDriverEntryPoint
52 ArmLib
53
54 [Protocols]
55 gEfiCpuArchProtocolGuid
56 gEfiDebugSupportPeriodicCallbackProtocolGuid
57
58 [Pcd.common]
59 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress
60
61 [FeaturePcd.common]
62 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport
63
64 [depex]
65 gHardwareInterruptProtocolGuid