]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/ArmPkg.dsc
ArmPkg: move RVCT PLATFORM_FLAGS override into ArmHvcLib/ArmSmcLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 16 Nov 2017 14:26:27 +0000 (14:26 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 16 Nov 2017 16:02:23 +0000 (16:02 +0000)
commit302e8eda3b2f848e54bd21d0a8b2e5d8b891bffd
tree7bfbfcf16f95d57c38436d807923be2924a33b11
parent44d71c217ccbd87e8c42768b4e84b1c899d779e2
ArmPkg: move RVCT PLATFORM_FLAGS override into ArmHvcLib/ArmSmcLib

Currently, each ARM platform built with RVCT that uses ArmHvcLib
or ArmSmcLib needs to specify a CPU target that implements both the
security and virtualization extensions, so that the assembler does
not choke on the 'hvc' and 'smc' instructions in ArmHvcLib/ArmSvcLib.
Let's move these overrides into the module .INFs so we can lift this
requirement at the platform side.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/ArmPkg.dsc
ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf