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>
35 lines
1.0 KiB
INI
35 lines
1.0 KiB
INI
#/** @file
|
|
#
|
|
# Copyright (c) 2012-2013, ARM Ltd. All rights reserved.<BR>
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
#
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = ArmSmcLib
|
|
FILE_GUID = eb3f17d5-a3cc-4eac-8912-84162d0f79da
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ArmSmcLib
|
|
|
|
[Sources.ARM]
|
|
Arm/ArmSmc.asm | RVCT
|
|
Arm/ArmSmc.S | GCC
|
|
|
|
[Sources.AARCH64]
|
|
AArch64/ArmSmc.S
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
|
|
[BuildOptions]
|
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu 7-A.security
|