NV services: Difference between revisions

Line 1,077: Line 1,077:
=== NVGPU_IOCTL_CHANNEL_GET_ERROR_NOTIFICATION ===
=== NVGPU_IOCTL_CHANNEL_GET_ERROR_NOTIFICATION ===
Returns the current error notification caught by the error notifier. Exclusive to the Switch.
Returns the current error notification caught by the error notifier. Exclusive to the Switch.
Despite being marked as inout this is all output.


   struct {
   struct {
     __out   u64 timestamp;    // nanoseconds since Jan. 1, 1970
     __out u64 timestamp;    // nanoseconds since Jan. 1, 1970
     __out   u32 info32;      // error code
     __out u32 info32;      // error code
     __out   u16 info16;      // additional error info
     __out u16 info16;      // additional error info
     __inout u16 status;      // always 0xFFFF
     __out u16 status;      // always 0xFFFF
   };
   };