Edison Ai | 5bf0bfc | 2019-06-10 13:42:43 +0800 | [diff] [blame] | 1 | /* |
| 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 |
| 14 | extern "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" %} |
| 28 | #define {{"%-58s"|format(str)}} ({{"%d"|format(service.minor_version)}}U) |
| 29 | {% 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__ */ |