1/*
2 * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8/***********{{utilities.donotedit_warning}}***********/
9
10#ifndef __PSA_MANIFEST_SID_H__
11#define __PSA_MANIFEST_SID_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17{% for partition in partitions %}
18    {% if partition.manifest.services %}
19/******** {{partition.manifest.name}} ********/
20        {% for service in partition.manifest.services %}
21#define {{"%-58s"|format(service.name + "_SID")}} ({{"%10s"|format(service.sid)}}U)
22#define {{"%-58s"|format(service.name + "_VERSION")}} ({{"%d"|format(service.version)}}U)
23            {% if service.connection_based == false %}
24#define {{"%-58s"|format(service.name + "_HANDLE")}} ({{"%s"|format(service.stateless_handle_value)}}U)
25            {% endif %}
26        {% endfor %}
27
28    {% endif %}
29{% endfor %}
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* __PSA_MANIFEST_SID_H__ */
35