TF-RMM Release v0.1.0
This is the first external release of TF-RMM and provides a reference
implementation of Realm Management Monitor (RMM) as specified by the
RMM Beta0 specification[1].
The `docs/readme.rst` has more details about the project and
`docs/getting_started/getting-started.rst` has details on how to get
started with TF-RMM.
[1] https://developer.arm.com/documentation/den0137/1-0bet0/?lang=en
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I205ef14c015e4a37ae9ae1a64e4cd22eb8da746e
diff --git a/runtime/rsi/system.c b/runtime/rsi/system.c
new file mode 100644
index 0000000..e13d54b
--- /dev/null
+++ b/runtime/rsi/system.c
@@ -0,0 +1,14 @@
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
+ */
+#include <assert.h>
+#include <smc-rsi.h>
+
+COMPILER_ASSERT(RSI_ABI_VERSION_MAJOR <= 0x7FFF);
+COMPILER_ASSERT(RSI_ABI_VERSION_MINOR <= 0xFFFF);
+
+unsigned long system_rsi_abi_version(void)
+{
+ return RSI_ABI_VERSION;
+}