]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmMonitorLib: Definition for ArmMonitorLib library class
authorPierre Gondois <Pierre.Gondois@arm.com>
Fri, 28 Oct 2022 15:32:42 +0000 (17:32 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 6 Nov 2022 16:32:28 +0000 (16:32 +0000)
commit9a50990cdb5a8f3ecdcd343ac78c58aaf5b2dbc3
treed01c877c898a85985ff17bc2b0e061b81df1adb8
parentdcf8c790560c7344c80c157b4919d75aafc93dba
ArmPkg/ArmMonitorLib: Definition for ArmMonitorLib library class

The ArmMonitorLib provides an abstract interface to issue
an HyperVisor Call (HVC) or System Monitor Call (SMC) depending
on the default conduit.
The PcdMonitorConduitHvc PCD allows to select the default conduit.

The new library relies on the ArmHvcLib and ArmSmcLib libraries.
A Null instance of these libraries can be used for the unused conduit.

Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
ArmPkg/ArmPkg.dec
ArmPkg/Include/Library/ArmMonitorLib.h [new file with mode: 0644]