SVC: Difference between revisions

Lioncache (talk | contribs)
m Correct references to ThreadContextFlags. Simply renames the enum.
Lioncache (talk | contribs)
Fill out remaining thread context flags
Line 1,565: Line 1,565:


{| class=wikitable
{| class=wikitable
! Bit || Bitmask || Name
! Bit || Bitmask || Name || Description
|-
|-
| 0 || 1 || NormalContext
| 0 || 1 || General-purpose registers || If in 64-bit mode, GPRs 0–28 will be read/written. If in 32-bit mode, GPRs 0–12 will be read/written.
|-
|-
| 1 || 2 ||
| 1 || 2 || Control registers || Reads/writes the FP, LR, PC, SP, PSTATE, and TPIDR registers.
|-
|-
| 2 || 4 ||
| 2 || 4 || Floating-point registers || Reads/writes the floating-point vector registers.
|-
|-
| 3 || 8 ||
| 3 || 8 || Floating-point control registers || Reads/writes the FPCR and FPSR registers.
|}
|}


== DeviceName ==
== DeviceName ==