SVC: Difference between revisions

Myria (talk | contribs)
m svc 0x59: made register link
Line 1,481: Line 1,481:
When input_flag is not 0x1, it will use value 0x0 internally. When a state field already matches input_flag, this will immediately return. Otherwise, after this SVC finishes running, it will write input_flag to this state field. GSP module uses 0x0 for APPLICATION-memregionid and 0x1 for non-APPLICATION-memregionid.
When input_flag is not 0x1, it will use value 0x0 internally. When a state field already matches input_flag, this will immediately return. Otherwise, after this SVC finishes running, it will write input_flag to this state field. GSP module uses 0x0 for APPLICATION-memregionid and 0x1 for non-APPLICATION-memregionid.


This writes "<nowiki>0x100 | <val></nowiki>" to [[PDN_Registers|pdnregbase]]+0x140, where val depends on input_flag and a kernel state field for [[Configuration_Memory|APPMEMTYPE]].
This writes "<nowiki>0x100 | <val></nowiki>" to [[CONFIG11_Registers#CFG11_GPUPROT|pdnregbase+0x140]], where val depends on input_flag and a kernel state field for [[Configuration_Memory|APPMEMTYPE]].


When input_flag is 0x1 val is fixed:
When input_flag is 0x1 val is fixed: