blob: 53350c5f332775be0d5cfd2c0a0885b2d8a555af [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/*
AlexeiFedorovc53b1f72023-07-04 15:37:03 +010012 * The RmmRipas enumeration represents realm IPA state.
Soby Mathewb4c6df42022-11-09 11:13:29 +000013 *
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 */
AlexeiFedorovc53b1f72023-07-04 15:37:03 +010019 RIPAS_DESTROYED = RMI_DESTROYED /* IPA is inaccessible to the Realm */
Soby Mathewb4c6df42022-11-09 11:13:29 +000020};
21
22#endif /* RIPAS_H */