[devmgr] Pipelined open for device_add.
This allows a client to open a connection to the device when adding a device, instead of having to wait for the device appear in the filesystem and open it. If the device is added with DEVICE_ADD_MUST_ISOLATE, they will get connected to the proxy device instead. If the device is added with DEVICE_ADD_INVISIBLE, they will not be be connected until device_make_visible is called. ZX-2956 #comment TEST= I wrote a small device and proxy and verified the channel worked. Change-Id: I5e1eed1eedaa6be65d0f0053c4c68dee0ead3058
Showing
- system/core/devmgr/devhost/api.cpp 50 additions, 34 deletionssystem/core/devmgr/devhost/api.cpp
- system/core/devmgr/devhost/core.cpp 2 additions, 2 deletionssystem/core/devmgr/devhost/core.cpp
- system/core/devmgr/devhost/devhost.cpp 4 additions, 3 deletionssystem/core/devmgr/devhost/devhost.cpp
- system/core/devmgr/devhost/devhost.h 10 additions, 2 deletionssystem/core/devmgr/devhost/devhost.h
- system/core/devmgr/devhost/rpc-server.cpp 4 additions, 0 deletionssystem/core/devmgr/devhost/rpc-server.cpp
- system/core/devmgr/devmgr/coordinator.cpp 24 additions, 5 deletionssystem/core/devmgr/devmgr/coordinator.cpp
- system/core/devmgr/devmgr/coordinator.h 7 additions, 1 deletionsystem/core/devmgr/devmgr/coordinator.h
- system/core/devmgr/devmgr/devfs.cpp 9 additions, 0 deletionssystem/core/devmgr/devmgr/devfs.cpp
- system/dev/display/vim-display/vim-display.cpp 1 addition, 0 deletionssystem/dev/display/vim-display/vim-display.cpp
- system/fidl/fuchsia-device-manager/coordinator.fidl 6 additions, 3 deletionssystem/fidl/fuchsia-device-manager/coordinator.fidl
- system/ulib/ddk/include/ddk/driver.h 6 additions, 0 deletionssystem/ulib/ddk/include/ddk/driver.h
- system/ulib/ddktl/include/ddktl/device.h 3 additions, 1 deletionsystem/ulib/ddktl/include/ddktl/device.h
Loading
Please register or sign in to comment