/* * Copyright (c) 2019-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ {{utilities.donotedit_warning}} #ifndef __PSA_MANIFEST_PID_H__ #define __PSA_MANIFEST_PID_H__ #ifdef __cplusplus extern "C" { #endif {% for partition in partitions %} {% if partition.attr.pid - 256 < 0 %} #error "Partition ID for '{{partition.manifest.name}}' have to be at least TFM_SP_BASE" {% else %} #define {{"%-62s"|format(partition.manifest.name)}} ({{partition.attr.pid}}) {% endif %} {% endfor %} #define {{"%-62s"|format("TFM_MAX_USER_PARTITIONS")}} ({{partitions | length()}}) #ifdef __cplusplus } #endif #endif /* __PSA_MANIFEST_PID_H__ */