aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/wait_object.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-29 19:13:46 -0400
committerLioncash <mathew1800@gmail.com>2018-09-30 05:29:40 -0400
commit7942c5ca0d3146b1a47977845e7832e99986e7c2 (patch)
tree96da0ecc079ad4d5e26dc3b47e1fbd317ff93e43 /src/core/hle/kernel/wait_object.cpp
parent9d8f4d934b8c8eb44a7dff80f3b44351bcf75cfc (diff)
kernel/process: Add a data member to determine if a process is 64-bit or not.
This will be necessary for the implementation of svcGetThreadContext(), as the kernel checks whether or not the process that owns the thread that has it context being retrieved is a 64-bit or 32-bit process. If the process is 32-bit, then the upper 15 general-purpose registers and upper 16 vector registers are cleared to zero (as AArch32 only has 15 GPRs and 16 128-bit vector registers. not 31 general-purpose registers and 32 128-bit vector registers like AArch64).
Diffstat (limited to 'src/core/hle/kernel/wait_object.cpp')
0 files changed, 0 insertions, 0 deletions