libnx
v4.8.0
|
NVIDIA low level driver (nvdrv*) service IPC wrapper. More...
Go to the source code of this file.
Macros | |
#define | NV_EVENT_ID_CTRL__SYNCPT(slot, syncpt) ((1u<<28) | ((syncpt) << 16) | (slot)) |
Enumerations | |
enum | NvServiceType { NvServiceType_Auto = -1 , NvServiceType_Application = 0 , NvServiceType_Applet = 1 , NvServiceType_System = 2 , NvServiceType_Factory = 3 } |
NvServiceType, for __nx_nv_service_type. More... | |
enum | NvEventId { NvEventId_Gpu_SmException_BptIntReport =1 , NvEventId_Gpu_SmException_BptPauseReport =2 , NvEventId_Gpu_ErrorNotifier =3 , NvEventId_CtrlGpu_ErrorEventHandle =1 , NvEventId_CtrlGpu_Unknown =2 } |
Functions | |
Result | nvInitialize (void) |
Initialize nvdrv*. | |
void | nvExit (void) |
Exit nvdrv*. | |
Service * | nvGetServiceSession (void) |
Gets the Service object for the actual nvdrv* service session. | |
Result | nvOpen (u32 *fd, const char *devicepath) |
Result | nvIoctl (u32 fd, u32 request, void *argp) |
Result | nvIoctl2 (u32 fd, u32 request, void *argp, const void *inbuf, size_t inbuf_size) |
[3.0.0+] | |
Result | nvIoctl3 (u32 fd, u32 request, void *argp, void *outbuf, size_t outbuf_size) |
[3.0.0+] | |
Result | nvClose (u32 fd) |
Result | nvQueryEvent (u32 fd, u32 event_id, Event *event_out) |
Result | nvConvertError (int rc) |
NVIDIA low level driver (nvdrv*) service IPC wrapper.
enum NvServiceType |
NvServiceType, for __nx_nv_service_type.
Enumerator | |
---|---|
NvServiceType_Auto | This is the default. Automatically select the type using appletGetAppletType. |
NvServiceType_Application | Initializes nvdrv. |
NvServiceType_Applet | Initializes nvdrv:a. |
NvServiceType_System | Initializes nvdrv:s. |
NvServiceType_Factory | Initializes nvdrv:t. |