Miklos Balint | 386b8b5 | 2017-11-29 13:12:32 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2017, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __SERVICE_DEFS_H__ |
| 9 | #define __SERVICE_DEFS_H__ |
| 10 | |
| 11 | /* FixMe: allocations to be settled. |
| 12 | * 8 bits reserved by TFM for secure service Id this prototype |
| 13 | */ |
| 14 | #define TFM_SEC_FUNC_BASE 256 |
| 15 | |
| 16 | /* FixMe: current implementation requires consecutive IDs, no gaps */ |
| 17 | #define TFM_SEC_FUNC_STORAGE_ID (TFM_SEC_FUNC_BASE + 0) |
| 18 | #ifdef CORE_TEST_SERVICES |
| 19 | #define TFM_SEC_FUNC_CORE_TEST_ID (TFM_SEC_FUNC_BASE + 1) |
| 20 | #define TFM_SEC_FUNC_CORE_TEST_2_ID (TFM_SEC_FUNC_BASE + 2) |
| 21 | #endif /* CORE_TEST_SERVICES */ |
| 22 | |
| 23 | #endif /* __SERVICE_DEFS_H__ */ |