1. 30 Sep, 2018 3 commits
    • Lioncash's avatar
      kernel/process: Add a data member to determine if a process is 64-bit or not. · dccfe193
      Lioncash authored
      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).
      dccfe193
    • Lioncash's avatar
      kernel/process: Make data member variables private · cf9d6c6f
      Lioncash authored
      Makes the public interface consistent in terms of how accesses are done
      on a process object. It also makes it slightly nicer to reason about the
      logic of the process class, as we don't want to expose everything to
      external code.
      cf9d6c6f
    • Lioncash's avatar
      arm_interface: Add missing fpsr/tpidr members to the ThreadContext struct · 16145e2f
      Lioncash authored
      Internally within the kernel, it also includes a member variable for the
      floating-point status register, and TPIDR, so we should do the same here to match
      it.
      
      While we're at it, also fix up the size of the struct and add a static
      assertion to ensure it always stays the correct size.
      16145e2f
  2. 29 Sep, 2018 7 commits
  3. 28 Sep, 2018 3 commits
  4. 27 Sep, 2018 6 commits
  5. 26 Sep, 2018 18 commits
  6. 25 Sep, 2018 3 commits