public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] ArmPkg ArmVirtPkg etc: consolidate ArmLib implementations
@ 2016-09-05 11:06 Ard Biesheuvel
  2016-09-05 11:06 ` [PATCH 1/5] ArmPkg/ArmLib: remove NullArmLib Ard Biesheuvel
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Ard Biesheuvel @ 2016-09-05 11:06 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm, lersek; +Cc: Ard Biesheuvel

Now that the MMU manipulation routines have been moved out of ArmLib into
ArmMmuLib, we are left with the following implementations of ArmLib which
are all identical except for the fact that they target either ARM or AARCH64
but not both.

  ArmPkg/Library/ArmLib/AArch64/AArch64Lib.inf
  ArmPkg/Library/ArmLib/AArch64/AArch64LibPei.inf
  ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf
  ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
  ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
  ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
  ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf

So implement a new version 'ArmBaseLib' which does target both ARM and AARCH64,
and replace all ArmLib references with ArmBaseLib.

NOTE: this requires changes for existing out of tree users of ArmLib

Ard Biesheuvel (5):
  ArmPkg/ArmLib: remove NullArmLib
  ArmPkg/ArmLib: introduce ArmBaseLib
  ArmVirtPkg: remove all ArmLib resolutions with ArmBaseLib
  BeagleBoardPkg EmbeddedPkg Omap35xxPkg: move to ArmBaseLib
  ArmPkg/ArmLib: remove all ArmLib flavors except ArmBaseLib

 ArmPkg/ArmPkg.dsc                                                |  14 +--
 ArmPkg/Library/ArmLib/AArch64/AArch64LibPei.inf                  |  43 -------
 ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf                |  44 --------
 ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf                  |  40 -------
 ArmPkg/Library/ArmLib/AArch64/AArch64PeiLibConstructor.c         |  75 -------------
 ArmPkg/Library/ArmLib/{AArch64/AArch64Lib.inf => ArmBaseLib.inf} |  39 +++++--
 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf                         |  52 ---------
 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf                    |  52 ---------
 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf                      |  44 --------
 ArmPkg/Library/ArmLib/Null/NullArmLib.c                          | 117 --------------------
 ArmPkg/Library/ArmLib/Null/NullArmLib.inf                        |  41 -------
 ArmVirtPkg/ArmVirtQemu.dsc                                       |   9 +-
 ArmVirtPkg/ArmVirtQemuKernel.dsc                                 |   6 +-
 ArmVirtPkg/ArmVirtXen.dsc                                        |  12 +-
 BeagleBoardPkg/BeagleBoardPkg.dsc                                |   4 +-
 EmbeddedPkg/EmbeddedPkg.dsc                                      |   7 +-
 Omap35xxPkg/Omap35xxPkg.dsc                                      |   2 +-
 17 files changed, 36 insertions(+), 565 deletions(-)
 delete mode 100644 ArmPkg/Library/ArmLib/AArch64/AArch64LibPei.inf
 delete mode 100644 ArmPkg/Library/ArmLib/AArch64/AArch64LibPrePi.inf
 delete mode 100644 ArmPkg/Library/ArmLib/AArch64/AArch64LibSec.inf
 delete mode 100644 ArmPkg/Library/ArmLib/AArch64/AArch64PeiLibConstructor.c
 rename ArmPkg/Library/ArmLib/{AArch64/AArch64Lib.inf => ArmBaseLib.inf} (50%)
 delete mode 100644 ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
 delete mode 100644 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
 delete mode 100644 ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
 delete mode 100644 ArmPkg/Library/ArmLib/Null/NullArmLib.c
 delete mode 100644 ArmPkg/Library/ArmLib/Null/NullArmLib.inf

-- 
2.7.4



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-08  9:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05 11:06 [PATCH 0/5] ArmPkg ArmVirtPkg etc: consolidate ArmLib implementations Ard Biesheuvel
2016-09-05 11:06 ` [PATCH 1/5] ArmPkg/ArmLib: remove NullArmLib Ard Biesheuvel
2016-09-05 11:06 ` [PATCH 2/5] ArmPkg/ArmLib: introduce ArmBaseLib Ard Biesheuvel
2016-09-05 11:06 ` [PATCH 3/5] ArmVirtPkg: remove all ArmLib resolutions with ArmBaseLib Ard Biesheuvel
2016-09-08  8:19   ` Ard Biesheuvel
2016-09-08  8:49     ` Laszlo Ersek
2016-09-08  8:50       ` Ard Biesheuvel
2016-09-05 11:06 ` [PATCH 4/5] BeagleBoardPkg EmbeddedPkg Omap35xxPkg: move to ArmBaseLib Ard Biesheuvel
2016-09-05 11:06 ` [PATCH 5/5] ArmPkg/ArmLib: remove all ArmLib flavors except ArmBaseLib Ard Biesheuvel
2016-09-05 11:21 ` [PATCH 0/5] ArmPkg ArmVirtPkg etc: consolidate ArmLib implementations Leif Lindholm
2016-09-08  9:41   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox