mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-24 01:28:48 +00:00
vfs_gpu: VFS plugin that handles GPU completions
When a <gpu> node is present in the VFS, the plugin opens a Gpu::Connection for each open call to the 'gpu' node and installs a completion signal handler. A read only to the fd returned only comes back if a completion signal has been received between two read transctions to the fd. For now the Gpu::Connections can be retrieved by calling the 'vfs_gpu_connection(unsigned long id)' function. The id can be obtained using 'stat' on the 'gpu' device and is located in the inode (st_ino) field of the stat buffer. issue #4380
This commit is contained in:
committed by
Christian Helmuth
parent
b7d25636e5
commit
b3e12dcece
6
repos/gems/lib/mk/vfs_gpu.mk
Normal file
6
repos/gems/lib/mk/vfs_gpu.mk
Normal file
@ -0,0 +1,6 @@
|
||||
SRC_CC = vfs.cc
|
||||
|
||||
vpath %.cc $(REP_DIR)/src/lib/vfs/gpu
|
||||
|
||||
SHARED_LIB = yes
|
||||
CC_CXX_WARN_STRICT =
|
Reference in New Issue
Block a user