summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_rpc_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_rpc_client.h')
-rw-r--r--kernel/gsp_rpc_client.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/gsp_rpc_client.h b/kernel/gsp_rpc_client.h
index 54c216e..4712754 100644
--- a/kernel/gsp_rpc_client.h
+++ b/kernel/gsp_rpc_client.h
@@ -76,6 +76,7 @@ enum gsp_rpc_type {
GSP_RPC_BAR_TRAP = 0x0A,
GSP_RPC_MIGRATE = 0x0B,
GSP_RPC_DEBUG = 0xFF,
+ GSP_RPC_MAX_TYPE = 0x10, /* Must be > highest RPC type value */
};
/* ============================================================
@@ -255,9 +256,10 @@ struct gsp_client;
* PUBLIC API
* ============================================================ */
-/* Client lifecycle */
-struct gsp_client *gsp_client_init(struct device *dev, phys_addr_t fw_base, phys_addr_t doorbell);
-void gsp_client_fini(struct gsp_client *client);
+ /* Client lifecycle */
+ struct gsp_client *gsp_client_init(struct device *dev, phys_addr_t fw_base, phys_addr_t doorbell);
+ struct gsp_client *gsp_client_init_emulation(struct device *dev, void __iomem *fw_base_virt, void __iomem *doorbell_virt);
+ void gsp_client_fini(struct gsp_client *client);
/* Memory management */
int gsp_rpc_alloc(struct gsp_client *client,