blob: 1ff027d573c7517a50821727256a67c0cecb4fff [file] [log] [blame]
Javier Almansa Sobrinoc4ad5b02022-07-05 19:05:14 +01001/*
2 * SPDX-License-Identifier: BSD-3-Clause
3 * SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
4 */
5
6#ifndef TEST_HELPERS_H
7#define TEST_HELPERS_H
8
9/*
10 * Helper function to fully initialize RMM.
11 *
12 * Args
13 * secondaries - If true, support for secondary PEs is enabled.
14 */
15void test_helper_rmm_start(bool secondaries);
16
17/*
18 * Helper function to get the total number of memory granules available
19 * to the system.
20 */
21unsigned int test_helper_get_nr_granules(void);
22
23#endif