diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-09-10 18:46:23 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-10 18:46:23 +0000 |
commit | 58e92b394ee359d2768abdace4dab7baf73c1231 (patch) | |
tree | c723c4befc93ae50846029ab809e2125dc1de9a3 /ArmPkg/ArmPkg.dsc | |
parent | ae9bc0576c6aac3ee2f1aaa4e44f611eb706ec90 (diff) | |
download | edk2-58e92b394ee359d2768abdace4dab7baf73c1231.tar.gz edk2-58e92b394ee359d2768abdace4dab7baf73c1231.tar.bz2 edk2-58e92b394ee359d2768abdace4dab7baf73c1231.zip |
ArmPkg: Add ArmHvcLib
This is a utility library closely modeled after ArmSmcLib, that allows
hypervisor call (HVC) instructions to be issued from C code.
Change-Id: I5f5c65f83e910ff98dbb2f5b031dad8c4f663daa
Contributed-under: TianoCore Contribution Agreement 1.0
Acked-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16088 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/ArmPkg.dsc')
-rw-r--r-- | ArmPkg/ArmPkg.dsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 3a51b5ce1c..ad02281926 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -36,7 +36,8 @@ GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a -mfpu=neon
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
- RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
+ # We use A15 to get the Secure and Virtualization extensions
+ RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15
RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
[LibraryClasses.common]
@@ -130,6 +131,7 @@ ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf
+ ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|