Changes

Jump to navigation Jump to search
167 bytes added ,  19:24, 2 March 2018
Line 1,019: Line 1,019:     
=== NVGPU_IOCTL_CHANNEL_SET_ERROR_NOTIFIER ===
 
=== NVGPU_IOCTL_CHANNEL_SET_ERROR_NOTIFIER ===
Initializes the error notifier for this channel. Identical to Linux driver.
+
Initializes the error notifier for this channel. Unlike for the Linux kernel, the Switch driver cannot write to an arbitrary userspace buffer. Thus new ioctls have been introduced to fetch the error information rather than using a shared memory buffer.
    
   struct {
 
   struct {
 
     __in u64 offset;
 
     __in u64 offset;
 
     __in u64 size;
 
     __in u64 size;
     __in u32 mem;      // nvmap object handle
+
     __in u32 mem;      // not used?
 
     __in u32 padding;
 
     __in u32 padding;
 
   };
 
   };

Navigation menu