]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(lib/psa): update measured boot handle
authorJamie Fox <jamie.fox@arm.com>
Tue, 2 Aug 2022 14:39:21 +0000 (15:39 +0100)
committerJamie Fox <jamie.fox@arm.com>
Thu, 4 Aug 2022 16:32:36 +0000 (17:32 +0100)
When the measured boot service was upstreamed to TF-M, its static
handle was reallocated into the user partitions range. This change
updates the static handle here to make the service accessible.

Also removes the SIDs and Versions, since they are unused when a
service is accessed through a stateless handle, which encodes both
service ID and version. The attestation and measured boot services
only support access through their handles.

Signed-off-by: Jamie Fox <jamie.fox@arm.com>
Change-Id: I9d2ff1aad19470728289d574be3d5d11bdabeef4

include/lib/psa/psa_manifest/sid.h

index 947e58f094f620dd2a815c1a62c8c1c1405854be..580a4cf70f9780e7224805cdbeb0356e205aa0f8 100644 (file)
@@ -9,13 +9,9 @@
 #define PSA_MANIFEST_SID_H
 
 /******** PSA_SP_INITIAL_ATTESTATION ********/
-#define RSS_ATTESTATION_SERVICE_SID                    (0x00000020U)
-#define RSS_ATTESTATION_SERVICE_VERSION                        (1U)
 #define RSS_ATTESTATION_SERVICE_HANDLE                 (0x40000103U)
 
 /******** PSA_SP_MEASURED_BOOT ********/
-#define RSS_MEASURED_BOOT_SID                          (0x000000E0U)
-#define RSS_MEASURED_BOOT_VERSION                      (1U)
-#define RSS_MEASURED_BOOT_HANDLE                       (0x40000104U)
+#define RSS_MEASURED_BOOT_HANDLE                       (0x40000110U)
 
 #endif /* PSA_MANIFEST_SID_H */