blob: 3a5e8197f61353f705d088d94a05823f8b11ccd6 [file] [log] [blame]
Ashutosh Singhf4d88672017-11-29 13:35:43 +00001/*
Jamie Foxb93da8b2018-12-13 18:27:30 +00002 * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
Ashutosh Singhf4d88672017-11-29 13:35:43 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_SST_DEFS_H__
9#define __TFM_SST_DEFS_H__
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
Marc Moreno Berengue684f61e2019-01-25 13:29:52 +000015/* Invalid UID */
16#define TFM_SST_INVALID_UID 0
17
Summer Qindb1448b2019-02-26 11:20:52 +080018#ifdef TFM_PSA_API
19/*
20 * Defines for SID and minor version number. These SIDs should align with the
21 * value in service manifest file.
22 */
Edison Ai8f80ea92019-04-17 17:02:37 +080023#define TFM_SST_SET_SID (0x00000060)
Summer Qindb1448b2019-02-26 11:20:52 +080024#define TFM_SST_SET_MIN_VER (0x0001)
Edison Ai8f80ea92019-04-17 17:02:37 +080025#define TFM_SST_GET_SID (0x00000061)
Summer Qindb1448b2019-02-26 11:20:52 +080026#define TFM_SST_GET_MIN_VER (0x0001)
Edison Ai8f80ea92019-04-17 17:02:37 +080027#define TFM_SST_GET_INFO_SID (0x00000062)
Summer Qindb1448b2019-02-26 11:20:52 +080028#define TFM_SST_GET_INFO_MIN_VER (0x0001)
Edison Ai8f80ea92019-04-17 17:02:37 +080029#define TFM_SST_REMOVE_SID (0x00000063)
Summer Qindb1448b2019-02-26 11:20:52 +080030#define TFM_SST_REMOVE_MIN_VER (0x0001)
Edison Ai8f80ea92019-04-17 17:02:37 +080031#define TFM_SST_GET_SUPPORT_SID (0x00000064)
Summer Qindb1448b2019-02-26 11:20:52 +080032#define TFM_SST_GET_SUPPORT_MIN_VER (0x0001)
33#endif
34
Ashutosh Singhf4d88672017-11-29 13:35:43 +000035#ifdef __cplusplus
36}
37#endif
38
39#endif /* __TFM_SST_DEFS_H__ */