blob: aaa3fe5c87d2941b7eeb5d1f46cb7c396fc9faa1 [file] [log] [blame]
Soby Mathewb4c6df42022-11-09 11:13:29 +00001/*
2 * SPDX-License-Identifier: BSD-3-Clause
3 * SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
4 */
5
6#ifndef RSI_CONFIG_H
7#define RSI_CONFIG_H
8
9#include <rsi-walk.h>
10#include <smc.h>
11
12struct rec;
13
14struct rsi_config_result {
15 /*
16 * Result of RTT walk performed by RSI command.
17 */
18 struct rsi_walk_result walk_result;
19
20 /*
21 * If @walk_result.abort is false, @smc_res contains GPR values to be
22 * returned to the Realm.
23 */
24 struct smc_result smc_res;
25};
26
27struct rsi_config_result handle_rsi_realm_config(struct rec *rec);
28
29#endif /* RSI_CONFIG_H */