diff options
author | Greg Bellows <greg.bellows@linaro.org> | 2015-04-14 17:20:10 -0500 |
---|---|---|
committer | Greg Bellows <greg.bellows@linaro.org> | 2015-04-14 17:20:10 -0500 |
commit | 3c5fbe0789299e4a39ae3fe7d750535bc94a47d0 (patch) | |
tree | e56c77e6119b2d813cc982130cc29180be1e8281 | |
parent | c22a1f3b823b8f73200417aaeb51cc1a12ea9596 (diff) |
Move EL0 test table and remove unnecessary header
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
-rw-r--r-- | tztest/tztest_el0.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tztest/tztest_el0.c b/tztest/tztest_el0.c index 33486ff..a444e07 100644 --- a/tztest/tztest_el0.c +++ b/tztest/tztest_el0.c @@ -6,16 +6,6 @@ #include "state.h" #include "debug.h" #include "tztest_internal.h" -#include "tztest_el0.h" - -tztest_t test_func[] = { - [TZTEST_SMC] = el0_check_smc, - [TZTEST_REG_ACCESS] = el0_check_register_access, -#ifdef AARCH64 - [TZTEST_CPACR_TRAP] = el0_check_cpacr_trap, - [TZTEST_WFX_TRAP] = el0_check_wfx_trap -#endif -}; uint32_t el0_check_smc(uint32_t __attribute__((unused))arg) { @@ -167,3 +157,13 @@ uint32_t el0_check_wfx_trap(uint32_t __attribute__((unused))arg) return 0; } #endif + +tztest_t test_func[] = { + [TZTEST_SMC] = el0_check_smc, + [TZTEST_REG_ACCESS] = el0_check_register_access, +#ifdef AARCH64 + [TZTEST_CPACR_TRAP] = el0_check_cpacr_trap, + [TZTEST_WFX_TRAP] = el0_check_wfx_trap +#endif +}; + |