From 37ef4bb1a700a83a1c7acb26bd0418bf43775db2 Mon Sep 17 00:00:00 2001 From: Achin Gupta Date: Fri, 19 Feb 2021 12:05:54 +0530 Subject: [PATCH] ArmPkg/IndustryStandard: Add barebones FF-A header This patch adds a rudimentary header file with defines for FF-A ABIs that will be used as the transport between S-EL0 and the SPM Signed-off-by: Achin Gupta Reviewed-by: Sami Mujawar Reviewed-by: Ard Biesheuvel --- ArmPkg/Include/IndustryStandard/ArmFfaSvc.h | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ArmPkg/Include/IndustryStandard/ArmFfaSvc.h diff --git a/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h b/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h new file mode 100644 index 0000000000..1eadf48ab5 --- /dev/null +++ b/ArmPkg/Include/IndustryStandard/ArmFfaSvc.h @@ -0,0 +1,23 @@ +/** @file + Header file for FF-A ABI's that will be used for + communication between S-EL0 and the Secure Partition + Manager(SPM) + + Copyright (c) 2020, ARM Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + + @par Revision Reference: + - FF-A Version 1.0 + + +**/ + +#ifndef ARM_FFA_SVC_H_ +#define ARM_FFA_SVC_H_ + +#define ARM_SVC_ID_FFA_VERSION_AARCH32 0x84000063 +#define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_REQ_AARCH64 0xC400006F +#define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_RESP_AARCH64 0xC4000070 + +#endif // ARM_FFA_SVC_H_