blob: 44d8bb58cc0f5bf6a71988614513e6e7db453d8c [file] [log] [blame]
Edison Ai5bf0bfc2019-06-10 13:42:43 +08001/*
2 * Copyright (c) 2019, 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 manifest in manifests %}
18 {% if manifest.attr.tfm_partition_ipc %}
19 {% if manifest.attr.conditional %}
20#ifdef {{manifest.attr.conditional}}
21 {% endif %}
22/******** {{manifest.manifest.name}} ********/
23 {% if manifest.manifest.services %}
24 {% for service in manifest.manifest.services %}
25 {% set str = service.name + "_SID" %}
26#define {{"%-58s"|format(str)}} ({{"%10s"|format(service.sid)}}U)
27 {% set str = service.name + "_VERSION" %}
Jaykumar Pitambarbhai Patel3a986022019-10-08 17:37:15 +053028#define {{"%-58s"|format(str)}} ({{"%d"|format(service.version)}}U)
Edison Ai5bf0bfc2019-06-10 13:42:43 +080029 {% endfor %}
30 {% endif %}
31 {% if manifest.attr.conditional %}
32#endif /* {{manifest.attr.conditional}} */
33 {% endif %}
34
35 {% endif %}
36{% endfor %}
37#ifdef __cplusplus
38}
39#endif
40
41#endif /* __PSA_MANIFEST_SID_H__ */