NV services: Difference between revisions

No edit summary
Line 1,560: Line 1,560:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || [[#OpenLog]]
| 0 || [[#OpenDebugFS]]
|-
|-
| 1 || [[#CloseLog]]
| 1 || [[#CloseDebugFS]]
|-
|-
| 2 || [[#ReadLog]]
| 2 || [[#GetDebugFSKeys]]
|-
|-
| 3 ||
| 3 || GetDebugFSValue
|-
|-
| 4 ||
| 4 || SetDebugFSValue
|}
|}


== OpenLog ==
== OpenDebugFS ==
Takes process handle. Returns an fd.
Takes a process handle. Returns a u32 '''fd'''.


== CloseLog ==
== CloseDebugFS ==
Takes fd and closes it.
Takes a u32 '''fd''' and closes it.


== ReadLog ==
== GetDebugFSKeys ==
Takes fd and reads log into a type-6 buffer.
Takes a u32 '''fd''' and reads debug contents into a type-6 buffer.


= nvgem:c =
= nvgem:c =