aboutsummaryrefslogtreecommitdiff
path: root/interface/include
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2021-03-30 17:56:26 +0800
committerKen Liu <ken.liu@arm.com>2021-04-21 10:08:42 +0200
commit4ecea99b3f0938d4c66cac10e7fb35e5a731a7d2 (patch)
treebcef5f3243d2238f37edff98ff96e245945aaeea /interface/include
parentabf6698dd6b916de5aea971783aa80776bf296dd (diff)
downloadtrusted-firmware-m-4ecea99b3f0938d4c66cac10e7fb35e5a731a7d2.tar.gz
Tools: Improvements on static handle encoding
Convert static handle index from [1, maximum] to [0, maximum-1] to be used directly as the tracking table index. Change-Id: I2acd4de1459c1652a4b2f45f437da1a91db1465e Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
Diffstat (limited to 'interface/include')
-rw-r--r--interface/include/psa_manifest/sid.h.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/include/psa_manifest/sid.h.template b/interface/include/psa_manifest/sid.h.template
index e188d62b7b..1fe128cbab 100644
--- a/interface/include/psa_manifest/sid.h.template
+++ b/interface/include/psa_manifest/sid.h.template
@@ -29,7 +29,7 @@ extern "C" {
{% endif %}
{% if partition.manifest.psa_framework_version > 1.0 and service.connection_based == false %}
{% set str = service.name + "_HANDLE" %}
-#define {{"%-58s"|format(str)}} ({{"%s"|format(service.stateless_handle)}}U)
+#define {{"%-58s"|format(str)}} ({{"%s"|format(service.stateless_handle_value)}}U)
{% endif %}
{% endfor %}
{% endif %}