summaryrefslogtreecommitdiff
path: root/framework/include/tftf.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/include/tftf.h')
-rw-r--r--framework/include/tftf.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/framework/include/tftf.h b/framework/include/tftf.h
index 02e6346..b423528 100644
--- a/framework/include/tftf.h
+++ b/framework/include/tftf.h
@@ -16,9 +16,9 @@
#define __TFTF_H__
#ifndef __ASSEMBLY__
+#include <status.h>
#include <stddef.h>
-#include <tests_api.h>
-#include <tftf_common.h>
+#include <tftf_lib.h>
#define TFTF_WELCOME_STR "Booting trusted firmware test framework"
@@ -29,6 +29,7 @@
#define TEST_REPORT_FORMAT_RAW 0
#define TEST_REPORT_FORMAT_JUNIT 1
+typedef unsigned TEST_REPORT_FORMAT;
extern const char build_message[];
@@ -66,13 +67,6 @@ typedef struct {
const TESTCASE *testcases;
} TEST_SUITE;
-/**
-** @brief Write a string in the test output buffer.
-**
-** @note The test output buffer we are talking about here is a temporary buffer
-** stored in RAM. This function doesn't write anything into NVM.
-*/
-void tftf_testcase_output(const char* string);
// The definition of this global variable is generated by the script 'tftf_generate_test_list'
// during the build process
@@ -109,8 +103,6 @@ STATUS tftf_testcase_set_result(const TESTCASE* testcase, TEST_RESULT result, co
STATUS tftf_testcase_get_result(const TESTCASE* testcase, TESTCASE_RESULT *result, char *test_output);
STATUS tftf_testcase_update_result(const TESTCASE* testcase, TEST_RESULT result);
-typedef unsigned TEST_REPORT_FORMAT;
-
void tftf_report_generate(void);
/*
@@ -145,12 +137,8 @@ int tftf_systimer_setup(void);
*/
void __dead2 run_tests(void);
-/*
- * Prevent the compiler from optimising the access to a variable.
- * Note that this only affects the compiler, this is NOT a run-time
- * memory barrier.
- */
-#define ACCESS(var) (*(volatile __typeof__(var) *)&(var))
+/* Entry point for a CPU that has just been powered up */
+void tftf_hotplug_entry(void);
#endif /*__ASSEMBLY__*/