JIT services: Difference between revisions

From Nintendo Switch Brew
Jump to navigation Jump to search
Add JIT services summary
 
fix swapped cmds
Line 19: Line 19:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || Control
| 0 || GenerateCode
|-
|-
| 1 || GenerateCode
| 1 || Control
|-
|-
| 1000 || LoadPlugin
| 1000 || LoadPlugin
|-
|-
| 1001 || GetCodeAddress
| 1001 || GetCodeAddress
|-
|}
|}

Revision as of 19:57, 16 March 2019

JIT is a sysmodule for run-time code generation on development kits (allowing for overlapping R-X and RW- views of memory). This system module is not present in retail units.

jit:u

This is "nn::jitsrv::IJitService".

Cmd Name Notes
0 CreateJitEnvironment Returns an #IJitEnvironment

IJitEnvironment

This is "nn::jitsrv::IJitEnvironment".

Cmd Name
0 GenerateCode
1 Control
1000 LoadPlugin
1001 GetCodeAddress