1. 30 Sep, 2018 7 commits
    • bunnei's avatar
      Merge pull request #1417 from lioncash/context · 5e2f23e2
      bunnei authored
      svc: Implement svcGetThreadContext
      5e2f23e2
    • Merry's avatar
      Merge pull request #1418 from FearlessTobi/port-4269 · f8e46d33
      Merry authored
      Port citra-emu/citra#4269: "OSX: Set MACOSX_DEPLOYMENT_TARGET to 10.13"
      f8e46d33
    • B3n30's avatar
      OSX: Set MACOSX_DEPLOYMENT_TARGET to 10.13 · 56901912
      B3n30 authored
      56901912
    • Lioncash's avatar
      kernel/svc: Implement svcGetThreadContext() · 541c5507
      Lioncash authored
      Now that we have all of the rearranging and proper structure sizes in
      place, it's fairly trivial to implement svcGetThreadContext(). In the
      64-bit case we can more or less just write out the context as is, minus
      some minor value sanitizing. In the 32-bit case we'll need to clear out
      the registers that wouldn't normally be accessible from a 32-bit
      AArch32 exectuable (or process).
      541c5507
    • 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 17 commits