From 1a7b6d9ea296102dc42baa3278bc3f17448ac957 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Sun, 14 Apr 2013 09:30:46 +0000 Subject: ArmPkg/BdsLib: Replace ARM magic value by a proper defined value. "ARMH" is the Four-Letter unique identifier used by ARM in the context of the fast SMC identification interface. This patch properly defines this value in a header file instead of using the numeric value directly in the code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14268 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Include/IndustryStandard/ArmTrustZoneSmc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ArmPkg/Include') diff --git a/ArmPkg/Include/IndustryStandard/ArmTrustZoneSmc.h b/ArmPkg/Include/IndustryStandard/ArmTrustZoneSmc.h index 62f8f61a7e..71b4327ebf 100644 --- a/ArmPkg/Include/IndustryStandard/ArmTrustZoneSmc.h +++ b/ArmPkg/Include/IndustryStandard/ArmTrustZoneSmc.h @@ -18,6 +18,8 @@ #define ARM_TRUSTZONE_UID_4LETTERID 0x1 #define ARM_TRUSTZONE_UID_MD5 0x2 +#define ARM_TRUSTZONE_ARM_UID 0x40524d48 // "ARMH" + #define IS_ARM_TRUSTZONE_SUPPORTED_SMC(Rx,Region) (((UINTN)(Rx) >= (UINTN)ARM_TRUSTZONE_##Region##_SMC_ID_START) && ((UINTN)(Rx) <= (UINTN)ARM_TRUSTZONE_##Region##_SMC_ID_END)) #define IS_ARM_TRUSTZONE_DEPRECIATED_SMC(Rx) ((UINTN)(Rx) <= (UINTN)ARM_TRUSTZONE_DEPRECIATED_SMC_ID_END) -- cgit v1.2.3