blob: 1e7e6aa87c81f805de7f002013540095fd95844e [file] [log] [blame]
Achin Gupta86f23532019-10-11 15:41:16 +01001/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SPMD_SVC_H
8#define SPMD_SVC_H
9
10#ifndef __ASSEMBLER__
J-Alves2672cde2020-05-07 18:42:25 +010011#include <services/ffa_svc.h>
Achin Gupta86f23532019-10-11 15:41:16 +010012#include <stdint.h>
13
Max Shvetsov745889c2020-02-27 14:54:21 +000014int spmd_setup(void);
Achin Gupta86f23532019-10-11 15:41:16 +010015uint64_t spmd_smc_handler(uint32_t smc_fid,
16 uint64_t x1,
17 uint64_t x2,
18 uint64_t x3,
19 uint64_t x4,
20 void *cookie,
21 void *handle,
22 uint64_t flags);
23#endif /* __ASSEMBLER__ */
24
25#endif /* SPMD_SVC_H */