NV services: Difference between revisions

formatting
No edit summary
Line 7: Line 7:
! Cmd || Name || Format
! Cmd || Name || Format
|-
|-
| ??? || NvOsDrvOpen ||
| 0 || Open ||
|-
|-
| ??? || NvOsDrvClose ||
| 1 || [[#Ioctl]] ||
|-
|-
| ??? || [[#NvOsDrvIoctl]] ||
| 2 || Close ||
|-
|-
| ??? || NvOsDrvMapSharedMem ||  
| 3 || Initialize ||
|-
|-
| ??? || NvOsDrvQueryEvent ||
| 4 || QueryEvent ||
|-
|-
| 5 || MapSharedMem ||
|-
| 6 || ? ||
|-
| 7 || ? ||
|-
| 8 || Audio render related init? ||
|-
| 9 || ? ||
|}
|}


== NvOsDrvIoctl ==
== Ioctl ==
Just like any standard build of the NVIDIA graphics' drivers, the nvdrv:a service operates mainly by processing requests and sending them to the kernel (not verified) through IOCtl commands.
Just like any standard build of the NVIDIA graphics' drivers, the nvdrv:a service operates mainly by processing requests and sending them to the kernel (not verified) through IOCtl commands.
Note that these commands are generated with the following primitive (see Linux kernel):
Note that these commands are generated with the following primitive (see Linux kernel):