diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2019-03-19 10:59:11 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2019-03-19 11:22:43 +0000 |
commit | f2218e7b6a4f8c2c3d6db00703caad95f5e5b157 (patch) | |
tree | 83f72bbabcabae7e25e82c3192d27718dea21f67 /include/common/debug.h | |
parent | 960906b2d8fc2596f257b55606c69505d2bf1130 (diff) | |
download | tf-a-tests-29f003d0d565efb96c1af43a63573e3dcdc99c78.tar.gz |
Reintroduce Cactus-MM and SPM-MM testsv2.1-rc0
The code has been taken from commit 99f4fd283b6f ("cactus: Use UART2
instead of UART0") and modified slightly to be integrated in the current
master.
There are three tests that are failing in the CI. They have been
disabled for the time being:
- mem_attr_changes_tests() in cactus_main() in the file
spm/cactus_mm/cactus_mm_main.c.
- Two tests in the file tftf/tests/tests-spm-mm.xml.
Change-Id: I6332cbff1cefeb82b9447fae1b613879e65186a1
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/common/debug.h')
-rw-r--r-- | include/common/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common/debug.h b/include/common/debug.h index 9b2d84216..4b30175d9 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -9,6 +9,10 @@ #include <stdio.h> +#ifdef IMAGE_CACTUS_MM +/* Remove dependency on spinlocks for Cactus-MM */ +#define mp_printf printf +#else /* * Print a formatted string on the UART. * @@ -18,6 +22,7 @@ */ __attribute__((format(printf, 1, 2))) void mp_printf(const char *fmt, ...); +#endif /* IMAGE_CACTUS_MM */ /* * The log output macros print output to the console. These macros produce |