blob: 50326d19fee9db1cd04d9da52674f201dff5147e [file] [log] [blame]
Mate Toth-Pal2611c552023-02-28 10:28:32 +01001/*
2 * SPDX-License-Identifier: BSD-3-Clause
3 * SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
4 */
5
6#ifndef HOST_RMI_WRAPPERS_H
7#define HOST_RMI_WRAPPERS_H
8
9#include <smc-rmi.h>
10
11void host_rmi_granule_delegate(void *granule_address, struct smc_result *ret);
12void host_rmi_granule_undelegate(void *granule_address, struct smc_result *ret);
13void host_rmi_realm_create(void *rd, void *params_ptr, struct smc_result *ret);
14void host_rmi_realm_destroy(void *rd, struct smc_result *ret);
15void host_rmi_rtt_create(void *rtt, void *rd, void *ipa,
16 unsigned int level, struct smc_result *ret);
17void host_rmi_rtt_destroy(void *rtt, void *rd, void *ipa,
18 unsigned int level, struct smc_result *ret);
19void host_rmi_rec_aux_count(void *rd, struct smc_result *ret);
20void host_rmi_rec_create(void *rec, void *rd, void *params_ptr,
21 struct smc_result *ret);
22void host_rmi_rec_destroy(void *rec, struct smc_result *ret);
23void host_rmi_realm_activate(void *rd, struct smc_result *ret);
24void host_rmi_rec_enter(void *rec, void *run_ptr, struct smc_result *ret);
Soby Mathew76e9b452023-05-16 15:11:34 +010025void host_rmi_data_create(uintptr_t data, void *rd, uintptr_t ipa,
26 uintptr_t src, struct smc_result *ret);
27void host_rmi_data_create_unknown(uintptr_t data, void *rd, uintptr_t ipa,
28 struct smc_result *ret);
29void host_rmi_rtt_init_ripas(void *rd, uintptr_t ipa, int64_t level,
30 struct smc_result *ret);
31void host_rmi_data_destroy(void *rd, uintptr_t ipa, struct smc_result *ret);
Mate Toth-Pal2611c552023-02-28 10:28:32 +010032
33#endif /* HOST_RMI_WRAPPERS_H */