Javier Almansa Sobrino | c4ad5b0 | 2022-07-05 19:05:14 +0100 | [diff] [blame^] | 1 | /* |
| 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 | */ |
| 15 | void 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 | */ |
| 21 | unsigned int test_helper_get_nr_granules(void); |
| 22 | |
| 23 | #endif |