efi_loader: Rename and correct values for ARM_SMC_MM_*
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 17 Jul 2020 04:55:03 +0000 (07:55 +0300)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 10:32:41 +0000 (12:32 +0200)
commit5d1f79ba438dc372c9bddb729d630abbc6e1068b
tree0dbb21f15e991a365ab1fa5005e2dd91a48ec648
parentebbad02c1b7140f7e9b479586d58aeca03f5350d
efi_loader: Rename and correct values for ARM_SMC_MM_*

Instead of adding the definition for the specific MM SVC used in
StandAloneMM we added the one used in the standard SMC calls.
So change the value from -4 to -5 to match the correct one defined in
EDK2 and rename them to avoid future confusion

Fixes 23a397d2e2fb: ("efi_loader: Add headers for EDK2 StandAloneMM communication")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/mm_communication.h
lib/efi_loader/efi_variable_tee.c