summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmMonitorLib
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-06-07 10:23:14 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-10 08:44:48 +0000
commit3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1 (patch)
tree477ac5a5173b974aa125f4f581a9ddf63c0eb397 /ArmPkg/Library/ArmMonitorLib
parent2c19297e6cf004379415ec1dd7f8655befe2e536 (diff)
downloadedk2-3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1.zip
edk2-3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1.tar.gz
edk2-3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1.tar.bz2
ArmPkg: Revert "Allow SMC/HVC monitor conduit to be specified at runtime"
This reverts commit 32460bb5b17b5caec29037a4e9462ca149a190e6, which is no longer needed as ArmVirtQemu now has its own special implementation for ArmMonitorLib. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmPkg/Library/ArmMonitorLib')
-rw-r--r--ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c b/ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c
index ec5b0b6..617e88f 100644
--- a/ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c
+++ b/ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c
@@ -26,7 +26,7 @@ ArmMonitorCall (
IN OUT ARM_MONITOR_ARGS *Args
)
{
- if (PcdGetBool (PcdMonitorConduitHvc)) {
+ if (FeaturePcdGet (PcdMonitorConduitHvc)) {
ArmCallHvc ((ARM_HVC_ARGS *)Args);
} else {
ArmCallSmc ((ARM_SMC_ARGS *)Args);