ArmPkg/ArmBaseLib: clean up directory structure

For historical reasons, the files under ArmLib are split up into 'common'
files under Common/, containing common C files as well as AArch64 and Arm
specific asm files, and ArmV7 and AArch64 files under ArmV7/ and AArch64/,
respectively. This presumably dates back to the time when ArmLib supported
different revisions of the 32-bit architecture (i.e., pre-V7)

Since the PI spec requires V7 or later, we can simplify this to Arm/ and
AArch64, which aligns ArmLib with the majority of other modules that carry
ARM or AArch64 specific code.

So move the files around so that shared files live at the same level as
ArmBaseLib.inf, and ARM/AArch64 specific files live in Arm/ or AArch64/,
respectively.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Ard Biesheuvel 2016-09-05 15:12:01 +01:00
parent 20d988be99
commit e51a677dea
15 changed files with 12 additions and 12 deletions

View File

@ -23,30 +23,30 @@
LIBRARY_CLASS = ArmLib
[Sources]
Common/ArmLib.c
ArmLib.c
[Sources.ARM]
ArmV7/ArmV7Lib.c
ArmV7/ArmV7ArchTimer.c
Arm/ArmV7Lib.c
Arm/ArmV7ArchTimer.c
ArmV7/ArmLibSupportV7.S | GCC
ArmV7/ArmV7Support.S | GCC
ArmV7/ArmV7ArchTimerSupport.S | GCC
Common/Arm/ArmLibSupport.S | GCC
Arm/ArmLibSupport.S | GCC
Arm/ArmLibSupportV7.S | GCC
Arm/ArmV7Support.S | GCC
Arm/ArmV7ArchTimerSupport.S | GCC
ArmV7/ArmLibSupportV7.asm | RVCT
ArmV7/ArmV7Support.asm | RVCT
ArmV7/ArmV7ArchTimerSupport.asm | RVCT
Common/Arm/ArmLibSupport.asm | RVCT
Arm/ArmLibSupport.asm | RVCT
Arm/ArmLibSupportV7.asm | RVCT
Arm/ArmV7Support.asm | RVCT
Arm/ArmV7ArchTimerSupport.asm | RVCT
[Sources.AARCH64]
AArch64/AArch64Lib.c
AArch64/AArch64ArchTimer.c
AArch64/ArmLibSupport.S
AArch64/ArmLibSupportV8.S
AArch64/AArch64Support.S
AArch64/AArch64ArchTimerSupport.S
Common/AArch64/ArmLibSupport.S
[Packages]
ArmPkg/ArmPkg.dec