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>
diff --git a/interface/include/psa_manifest/sid.h.template b/interface/include/psa_manifest/sid.h.template
index e188d62..1fe128c 100644
--- a/interface/include/psa_manifest/sid.h.template
+++ b/interface/include/psa_manifest/sid.h.template
@@ -29,7 +29,7 @@
{% 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 %}