mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
char: virtio_fastrpc: Add virtio frontend fastrpc driver
This driver provides the same interface for fastrpc library as metal Linux. So fastrpc applications and library can run in GVM without modification. Change-Id: I0ec9a6d0afaa41c6e88961b471ecd8281a2989a7 Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
This commit is contained in:
parent
497e1f669b
commit
f25632a51d
@ -616,6 +616,16 @@ config MSM_ADSPRPC
|
||||
applications DSP processor. Say M if you want to enable this
|
||||
module.
|
||||
|
||||
config VIRTIO_FASTRPC
|
||||
tristate "Virtio fastrpc driver"
|
||||
depends on VIRTIO
|
||||
help
|
||||
This is the virtual fastrpc frontend driver based on virtio. It
|
||||
provides a communication mechanism that allows for clients to
|
||||
make remote method invocations across processor boundary to
|
||||
applications DSP processor. Say Y if you want to support virtual
|
||||
fastrpc.
|
||||
|
||||
config MSM_RDBG
|
||||
tristate "QTI Remote debug driver"
|
||||
help
|
||||
|
@ -66,6 +66,10 @@ obj-$(CONFIG_MSM_ADSPRPC) += adsprpc.o
|
||||
ifdef CONFIG_COMPAT
|
||||
obj-$(CONFIG_MSM_ADSPRPC) += adsprpc_compat.o
|
||||
endif
|
||||
obj-$(CONFIG_VIRTIO_FASTRPC) += virtio_fastrpc.o
|
||||
ifdef CONFIG_COMPAT
|
||||
obj-$(CONFIG_VIRTIO_FASTRPC) += adsprpc_compat.o
|
||||
endif
|
||||
obj-$(CONFIG_MSM_FASTCVPD) += fastcvpd.o
|
||||
obj-$(CONFIG_MSM_RDBG) += rdbg.o
|
||||
obj-$(CONFIG_OKL4_PIPE) += okl4_pipe.o
|
||||
|
2003
drivers/char/virtio_fastrpc.c
Normal file
2003
drivers/char/virtio_fastrpc.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -48,5 +48,6 @@
|
||||
|
||||
#define VIRTIO_ID_I2C 32 /* virtio i2c */
|
||||
#define VIRTIO_ID_SPMI 33 /* virtio spmi */
|
||||
#define VIRTIO_ID_FASTRPC 34 /* virtio fastrpc */
|
||||
|
||||
#endif /* _LINUX_VIRTIO_IDS_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user