aboutsummaryrefslogtreecommitdiff
path: root/interface/src/tfm_nspm_svc_handler.c
blob: 3ec2cb03d2c8785e7ac76b38079d63d66c6795fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2018, Arm Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 */

#include "tfm_nspm_svc_handler.h"
#include "tfm_api.h"
#include "tfm_ns_svc.h"

/* SVC function implementations */
uint32_t tfm_nspm_svc_register_client_id(uint32_t client_id)
{
    if (tfm_register_client_id(client_id) == TFM_SUCCESS) {
        return 1;
    }

    return 0;
}