NV services: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
| 6 || [[#GetStatus]] | | 6 || [[#GetStatus]] | ||
|- | |- | ||
| 7 || [[# | | 7 || [[#SetAruidForTest]] | ||
|- | |- | ||
| 8 || [[# | | 8 || [[#SetAruid]] | ||
|- | |- | ||
| 9 || [[#DumpGraphicsMemoryInfo]] | | 9 || [[#DumpGraphicsMemoryInfo]] | ||
Line 46: | Line 46: | ||
| 12 || [3.0.0+] [[#Ioctl3]] | | 12 || [3.0.0+] [[#Ioctl3]] | ||
|- | |- | ||
| 13 || [3.0.0+] [[# | | 13 || [3.0.0+] [[#SetGraphicsFirmwareMemoryMarginEnabled]] | ||
|} | |} | ||
Line 88: | Line 88: | ||
Takes no input. Returns 0x10-bytes and an output u32 ('''error_code'''). | Takes no input. Returns 0x10-bytes and an output u32 ('''error_code'''). | ||
== | == SetAruidForTest == | ||
Takes an input u64 which must [[IPC_Marshalling|match]] the user-process PID ([[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]]). Returns an output u32 ('''error_code'''). | Takes an input u64 which must [[IPC_Marshalling|match]] the user-process PID ([[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]]). Returns an output u32 ('''error_code'''). | ||
== | == SetAruid == | ||
Takes a PID-descriptor and an u64 which must [[IPC_Marshalling|match]] the user-process PID ([[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]]). Returns an output u32 ('''error_code'''). | Takes a PID-descriptor and an u64 which must [[IPC_Marshalling|match]] the user-process PID ([[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]]). Returns an output u32 ('''error_code'''). | ||
Line 107: | Line 107: | ||
Cmdhdr_word1 is 0x100B instead of 0xC0B. | Cmdhdr_word1 is 0x100B instead of 0xC0B. | ||
== | == SetGraphicsFirmwareMemoryMarginEnabled == | ||
Takes an input u64. No output. | Takes an input u64. No output. | ||
Line 152: | Line 152: | ||
|- | |- | ||
| 10 | | 10 | ||
| | | Can use [[#SetAruidForTest|SetAruidForTest]]. | ||
|- | |- | ||
| 11 | | 11 | ||
| Can use [[# | | Can use [[#SetGraphicsFirmwareMemoryMarginEnabled|SetGraphicsFirmwareMemoryMarginEnabled]]. | ||
|- | |- | ||
| 12 | | 12 |