]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Add macros for SPM version
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 19 Feb 2021 06:35:58 +0000 (12:05 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Feb 2021 15:40:37 +0000 (15:40 +0000)
Declare the values of SPM major and minor versions as macros which can
be used in the module for checking the SPM version compatibility.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
ArmPkg/Include/IndustryStandard/ArmMmSvc.h

index ee29c2fecc3d7042cdc035e645177281e15f5074..71a5398558b81e20c6c49e32454453297f798041 100644 (file)
@@ -41,4 +41,7 @@
 #define ARM_SVC_SPM_RET_DENIED               -3\r
 #define ARM_SVC_SPM_RET_NO_MEMORY            -5\r
 \r
+#define SPM_MAJOR_VERSION                     0\r
+#define SPM_MINOR_VERSION                     1\r
+\r
 #endif\r