Add generic RPC layer
Adds generic RPC caller and endpoint. This is the base for specialized
RPC communication using e.g. FF-A messaging. The protocol description
is implemented in two flavours: packed C structures and protobuf.
Change-Id: I17f450b7272bd4008fc20fe8f716a253f6754000
Signed-off-by: Julian Hall <julian.hall@arm.com>
diff --git a/components/rpc/common/interface/rpc_status.h b/components/rpc/common/interface/rpc_status.h
new file mode 100644
index 0000000..0405a64
--- /dev/null
+++ b/components/rpc/common/interface/rpc_status.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef RPC_STATUS_H
+#define RPC_STATUS_H
+
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** \brief RPC status code type
+ *
+ * Used for returning the status of an RPC transaction. This is
+ * different from the opstatus which is used to return an endpoint
+ * specific status value.
+ */
+typedef int32_t rpc_status_t;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* RPC_STATUS_H */