Added a library for the default exception handler and started to add a dissasembler...
[mirror_edk2.git] / ArmPkg / ArmPkg.dsc
1 #/** @file
2 # ARM processor package.
3 #
4 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
5 #
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 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = ArmPkg
23 PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/Arm
27 SUPPORTED_ARCHITECTURES = ARM
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30
31
32 [LibraryClasses.common]
33 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
34 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
35 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
36 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
37 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
38 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
39 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
40 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
41 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
42 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
43 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
44 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
45 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
46 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
47
48 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
49 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
50 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
51 DefaultExceptioHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
52
53 ArmLib|ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
54 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
55
56 [LibraryClasses.ARM]
57 #
58 # Note: This NULL library feature is not yet in the edk2/BaseTools, but it is checked in to
59 # the BaseTools project. So you need to build with the BaseTools project util this feature gets synced.
60 #
61 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
62
63 [BuildOptions]
64 XCODE:*_*_ARM_ARCHCC_FLAGS == -arch armv6 -march=armv6
65 XCODE:*_*_ARM_ARCHASM_FLAGS == -arch armv6
66 XCODE:*_*_ARM_ARCHDLINK_FLAGS == -arch armv6
67
68 RVCT:*_*_ARM_ARCHCC_FLAGS == --cpu Cortex-A8
69 RVCT:*_*_ARM_ARCHASM_FLAGS == --cpu Cortex-A8
70
71
72 [Components.common]
73 ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
74 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLib.inf
75 ArmPkg/Library/ArmLib/Arm11/Arm11ArmLibPrePi.inf
76 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLib.inf
77 ArmPkg/Library/ArmLib/Arm9/Arm9ArmLibPrePi.inf
78 ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLib.inf
79 ArmPkg/Library/ArmLib/ArmCortexA/ArmCortexArmLibPrePi.inf
80 ArmPkg/Library/ArmLib/Null/NullArmLib.inf
81 ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
82 ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
83 ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
84 ArmPkg/Library/SemihostLib/SemihostLib.inf
85 ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
86 ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
87 ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
88 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
89
90 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
91 ArmPkg/Drivers/DebugSupportDxe/DebugSupportDxe.inf
92 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf