]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/Include: Fix the SPM version SVC ID
authorSughosh Ganu <sughosh.ganu@arm.com>
Tue, 27 Nov 2018 10:43:55 +0000 (16:13 +0530)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 27 Nov 2018 12:06:01 +0000 (13:06 +0100)
The MM_VERSION SMC call uses SMC32 calling convention. Fix the macro
to reflect the correct value.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Include/IndustryStandard/ArmMmSvc.h

index 4c7b6c338627f2249ddc0e2544f02705cbc62385..81b4654fa5dd8e821ffaccbaa4663b975bd22750 100644 (file)
@@ -20,7 +20,7 @@
  * delegated events and request the Secure partition manager to perform\r
  * privileged operations on its behalf.\r
  */\r
-#define ARM_SVC_ID_SPM_VERSION_AARCH64             0xC4000060\r
+#define ARM_SVC_ID_SPM_VERSION_AARCH32             0x84000060\r
 #define ARM_SVC_ID_SP_EVENT_COMPLETE_AARCH64       0xC4000061\r
 #define ARM_SVC_ID_SP_GET_MEM_ATTRIBUTES_AARCH64   0xC4000064\r
 #define ARM_SVC_ID_SP_SET_MEM_ATTRIBUTES_AARCH64   0xC4000065\r