blob: b914ec9a288df4dfe87e4704aeb2e0c4e933d1f6 [file] [log] [blame]
Edison Ai5bf0bfc2019-06-10 13:42:43 +08001/*
Sherry Zhangf58f2bd2022-01-10 17:21:11 +08002 * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
Edison Ai5bf0bfc2019-06-10 13:42:43 +08003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
Sherry Zhangf58f2bd2022-01-10 17:21:11 +08008/***********{{utilities.donotedit_warning}}***********/
Edison Ai5bf0bfc2019-06-10 13:42:43 +08009
10#ifndef __PSA_MANIFEST_SID_H__
11#define __PSA_MANIFEST_SID_H__
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
Kevin Peng578a8492020-12-31 10:22:59 +080017{% for partition in partitions %}
Shawn Shan6a926312021-06-16 17:18:33 +080018 {% if partition.manifest.services %}
Kevin Peng578a8492020-12-31 10:22:59 +080019/******** {{partition.manifest.name}} ********/
Shawn Shan6a926312021-06-16 17:18:33 +080020 {% for service in partition.manifest.services %}
Kevin Peng5c3fee72022-02-16 22:25:22 +080021#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)
Shawn Shan6a926312021-06-16 17:18:33 +080025 {% endif %}
26 {% endfor %}
Edison Ai5bf0bfc2019-06-10 13:42:43 +080027
28 {% endif %}
29{% endfor %}
30#ifdef __cplusplus
31}
32#endif
33
34#endif /* __PSA_MANIFEST_SID_H__ */