SVC: Difference between revisions
| Line 1,479: | Line 1,479: | ||
Implemented with [[11.3.0-36|11.3.0-X]]. Used with GSP module starting with that version. This always returns 0. | Implemented with [[11.3.0-36|11.3.0-X]]. Used with GSP module starting with that version. This always returns 0. | ||
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. | 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 [[PDN_Registers|pdnregbase]]+0x140, where val depends on input_flag and a kernel state field for [[Configuration_Memory|APPMEMTYPE]]. | ||