Skip to content

Commit

Permalink
misc: Implement goldfish pipe driver
Browse files Browse the repository at this point in the history
this pipe is widely used in Android emulator and specified here:
https://android.googlesource.com/platform/external/qemu/+/master/docs/ANDROID-QEMU-PIPE.TXT

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
  • Loading branch information
zhang-2019 authored and xiaoxiang781216 committed Jun 13, 2024
1 parent 73b15a8 commit f1893e7
Show file tree
Hide file tree
Showing 4 changed files with 755 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ config BLK_RPMSG_SERVER
default n
depends on RPMSG

config GOLDFISH_PIPE
bool "Goldfish Pipe Support"
default n

# ARCH needs to support memory access while CPU is running to be able to use
# the LWL CONSOLE

Expand Down
4 changes: 4 additions & 0 deletions drivers/misc/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ ifneq ($(CONFIG_DEV_OPTEE_NONE),y)
CSRCS += optee.c
endif

ifeq ($(CONFIG_GOLDFISH_PIPE),y)
CSRCS += goldfish_pipe.c
endif

# Include build support

DEPPATH += --dep-path misc
Expand Down
Loading

0 comments on commit f1893e7

Please sign in to comment.