diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-05 15:12:01 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-09-08 16:49:15 +0100 |
commit | e51a677dea1b4ec3536e32b590b165dbcd30a87d (patch) | |
tree | 3e154ff03c2019ecccdb96d0030808813b389fdc /ArmPkg | |
parent | 20d988be998dfb54d00e12853b1a06445a830f5e (diff) | |
download | edk2-e51a677dea1b4ec3536e32b590b165dbcd30a87d.tar.gz edk2-e51a677dea1b4ec3536e32b590b165dbcd30a87d.tar.bz2 edk2-e51a677dea1b4ec3536e32b590b165dbcd30a87d.zip |
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>
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S (renamed from ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmLibSupport.S (renamed from ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.S) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmLibSupport.asm (renamed from ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.asm) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.S (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.S) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.asm (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.asm) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimer.c (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimer.c) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.S (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.S) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.asm (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.asm) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7Lib.c (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.c) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7Support.S (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm/ArmV7Support.asm (renamed from ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.asm) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmBaseLib.inf | 24 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmLib.c (renamed from ArmPkg/Library/ArmLib/Common/ArmLib.c) | 0 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmLibPrivate.h (renamed from ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h) | 0 |
15 files changed, 12 insertions, 12 deletions
diff --git a/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S index 9d3dd66b10..9d3dd66b10 100644 --- a/ArmPkg/Library/ArmLib/Common/AArch64/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S diff --git a/ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.S b/ArmPkg/Library/ArmLib/Arm/ArmLibSupport.S index a0b5ed5002..a0b5ed5002 100644 --- a/ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/Arm/ArmLibSupport.S diff --git a/ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.asm b/ArmPkg/Library/ArmLib/Arm/ArmLibSupport.asm index 85b0feee20..85b0feee20 100644 --- a/ArmPkg/Library/ArmLib/Common/Arm/ArmLibSupport.asm +++ b/ArmPkg/Library/ArmLib/Arm/ArmLibSupport.asm diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.S b/ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.S index 3939bbc6b6..3939bbc6b6 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.S +++ b/ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.S diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.asm b/ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.asm index cac39e36a5..cac39e36a5 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupportV7.asm +++ b/ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.asm diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimer.c b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimer.c index c0b3a9ed5d..c0b3a9ed5d 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimer.c +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimer.c diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.S b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.S index 9a7794f0ad..9a7794f0ad 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.S +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.S diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.asm b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.asm index a53dd60457..a53dd60457 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.asm +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.asm diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.c b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.c index 23a7f2f2bb..23a7f2f2bb 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.c +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.c diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h index e4595c44fd..e4595c44fd 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S index 281499b46c..281499b46c 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.asm b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.asm index 342d8970dc..342d8970dc 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.asm +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.asm diff --git a/ArmPkg/Library/ArmLib/ArmBaseLib.inf b/ArmPkg/Library/ArmLib/ArmBaseLib.inf index 3e9f19c3ca..05a585343c 100644 --- a/ArmPkg/Library/ArmLib/ArmBaseLib.inf +++ b/ArmPkg/Library/ArmLib/ArmBaseLib.inf @@ -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
diff --git a/ArmPkg/Library/ArmLib/Common/ArmLib.c b/ArmPkg/Library/ArmLib/ArmLib.c index 7e227936fa..7e227936fa 100644 --- a/ArmPkg/Library/ArmLib/Common/ArmLib.c +++ b/ArmPkg/Library/ArmLib/ArmLib.c diff --git a/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h b/ArmPkg/Library/ArmLib/ArmLibPrivate.h index fdd5a26ba0..fdd5a26ba0 100644 --- a/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h +++ b/ArmPkg/Library/ArmLib/ArmLibPrivate.h |