aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlivier Deprez <olivier.deprez@arm.com>2020-03-12 15:44:17 +0100
committerOlivier Deprez <olivier.deprez@arm.com>2020-03-19 17:54:23 +0100
commit3e1a295f14be82c58d582e1f05a8b46fd068a8bd (patch)
tree4b9d4094bfa149db9d30808dcd594da06b730d88 /include
parent837c8385669d9493794ff79b0ee894d878ac4b04 (diff)
downloadtf-a-tests-3e1a295f14be82c58d582e1f05a8b46fd068a8bd.tar.gz
tftf: provide hvc conduit facility
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I3ad6e6767c2ca915f4a4fe8c5accc07e3e255387
Diffstat (limited to 'include')
-rw-r--r--include/lib/tftf_lib.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/lib/tftf_lib.h b/include/lib/tftf_lib.h
index 7f6786a0a..c3ad105b2 100644
--- a/include/lib/tftf_lib.h
+++ b/include/lib/tftf_lib.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -159,6 +159,15 @@ typedef struct {
smc_ret_values tftf_smc(const smc_args *args);
/*
+ * Trigger an HVC call.
+ */
+typedef smc_args hvc_args;
+
+typedef smc_ret_values hvc_ret_values;
+
+hvc_ret_values tftf_hvc(const hvc_args *args);
+
+/*
* Write a formatted string in the test output buffer.
* Just like the standard libc's printf() function, the string produced is under
* the control of a format string that specifies how subsequent arguments are