blob: 01a56f7816ff830c672b7f4c79e50bf2508e158e [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 RIPAS_H
7#define RIPAS_H
8
Yousuf A62808152022-10-31 10:35:42 +00009#include <smc-rmi.h>
Soby Mathewb4c6df42022-11-09 11:13:29 +000010
11/*
12 * The RmiRipas enumeration representing realm IPA state.
13 *
14 * Map RmmRipas to RmiRipas to simplify code/decode operations.
15 */
16enum ripas {
Yousuf A62808152022-10-31 10:35:42 +000017 RIPAS_EMPTY = RMI_EMPTY, /* Unused IPA for Realm */
AlexeiFedorov20afb5c2023-04-18 11:44:19 +010018 RIPAS_RAM = RMI_RAM, /* IPA used for Code/Data by Realm */
19 RIPAS_UNDEFINED = RMI_UNDEFINED /* Implied by HIPAS=DESTROYED */
Soby Mathewb4c6df42022-11-09 11:13:29 +000020};
21
22#endif /* RIPAS_H */