Changes

149 bytes added ,  21:11, 10 March 2018
Line 63: Line 63:  
== QueryEvent ==
 
== QueryEvent ==
 
Takes two input u32s ('''fd''' and '''event_id'''), with the second word immediately after the first one. Returns an output u32 ('''error_code''') and a copy-handle ('''event_handle''').
 
Takes two input u32s ('''fd''' and '''event_id'''), with the second word immediately after the first one. Returns an output u32 ('''error_code''') and a copy-handle ('''event_handle''').
 +
 +
QueryEvent is only supported on (and implemented differently on):
 +
* /dev/nvhost-gpu
 +
* /dev/nvhost-ctrl
 +
* /dev/nvhost-ctrl-gpu
 +
* /dev/nvhost-dbg-gpu
    
== MapSharedMem ==
 
== MapSharedMem ==