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
This commit is contained in:
committed by
oliviermartin
parent
ae9bc0576c
commit
58e92b394e
32
ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
Normal file
32
ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
Normal file
@@ -0,0 +1,32 @@
|
||||
#/** @file
|
||||
#
|
||||
# Copyright (c) 2012-2013, ARM Ltd. All rights reserved.<BR>
|
||||
# Copyright (c) 2014, Linaro 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 = ArmHvcLib
|
||||
FILE_GUID = E594959A-D150-44D3-963B-BA90329D3D9A
|
||||
MODULE_TYPE = BASE
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = ArmHvcLib
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/ArmHvc.asm | RVCT
|
||||
Arm/ArmHvc.S | GCC
|
||||
|
||||
[Sources.AARCH64]
|
||||
AArch64/ArmHvc.S
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
ArmPkg/ArmPkg.dec
|
Reference in New Issue
Block a user