9 #include "../sf/service.h"
10 #include "../kernel/event.h"
22 NvEventId_Gpu_SmException_BptIntReport=1,
23 NvEventId_Gpu_SmException_BptPauseReport=2,
24 NvEventId_Gpu_ErrorNotifier=3,
26 NvEventId_CtrlGpu_ErrorEventHandle=1,
27 NvEventId_CtrlGpu_Unknown=2,
30 #define NV_EVENT_ID_CTRL__SYNCPT(slot, syncpt) \
31 ((1u<<28) | ((syncpt) << 16) | (slot))
33 Result nvOpen(
u32 *fd,
const char *devicepath);
35 Result nvIoctl2(
u32 fd,
u32 request,
void* argp,
const void* inbuf,
size_t inbuf_size);
39 Result nvConvertError(
int rc);