diff options
Diffstat (limited to 'kernel/dynamic_rpc_dispatcher.c')
| -rw-r--r-- | kernel/dynamic_rpc_dispatcher.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/kernel/dynamic_rpc_dispatcher.c b/kernel/dynamic_rpc_dispatcher.c index fb9ca6b..ca4268d 100644 --- a/kernel/dynamic_rpc_dispatcher.c +++ b/kernel/dynamic_rpc_dispatcher.c @@ -19,30 +19,6 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Open-IOV"); MODULE_DESCRIPTION("Dynamic RPC Dispatcher"); -/* Version-specific interface */ -struct rpc_interface { - char version[32]; - struct fw_addresses fw_addrs; - - /* Function pointers for native firmware handlers */ - int (*alloc)(struct gsp_client *, u64, u64, u32, u32, u64, u32, u64 *, u64 *, u64 *); - int (*free)(struct gsp_client *, u64); - int (*map)(struct gsp_client *, u64, u64, u64, u32, u32, u64, u64 *); - int (*unmap)(struct gsp_client *, u64, u64, u64); - int (*pin)(struct gsp_client *, u64, u64, u64, u32, u64 *, u32 *); - int (*unpin)(struct gsp_client *, u64, u64, u64); - int (*schedule)(struct gsp_client *, u64, u64, u64, u32, u32); - int (*yield)(struct gsp_client *); - int (*bar_trap)(struct gsp_client *, u64, u32, u32, u64, u32, u64 *); - int (*migrate_save)(struct gsp_client *, u64, u64, u64, u64, u64 *); - int (*migrate_restore)(struct gsp_client *, u64, u64, u64, u64, u64); - int (*notify_register)(struct gsp_client *, u32, void (*)(struct gsp_client *, struct gsp_rpc_response *, void *), void *); - void (*notify_unregister)(struct gsp_client *, u32); - - /* Emulation fallbacks */ - bool use_emulation[GSP_RPC_MAX_TYPE]; -}; - /* Dispatcher context */ struct dynamic_dispatcher { struct rpc_interface *current_interface; @@ -440,7 +416,7 @@ const struct fw_addresses *dynamic_dispatcher_get_fw_addresses(void) EXPORT_SYMBOL_GPL(dynamic_dispatcher_init); EXPORT_SYMBOL_GPL(dynamic_dispatcher_fini); -EXPORT_SYMBOL_GPL(dynamic_dispatcher_get_interface); +// EXPORT_SYMBOL_GPL(dynamic_dispatcher_get_interface); // Internal function, not exported EXPORT_SYMBOL_GPL(dynamic_dispatcher_use_emulation); EXPORT_SYMBOL_GPL(dynamic_dispatcher_alloc); EXPORT_SYMBOL_GPL(dynamic_dispatcher_free); |
