Skip to content
Snippets Groups Projects
  1. Apr 15, 2019
  2. Apr 11, 2019
    • Lioncash's avatar
      kernel: Make handle type declarations constexpr · 6300ccbc
      Lioncash authored
      Some objects declare their handle type as const, while others declare it
      as constexpr. This makes the const ones constexpr for consistency, and
      prevent unexpected compilation errors if these happen to be attempted to be
      used within a constexpr context.
      6300ccbc
  3. Apr 10, 2019
  4. Apr 09, 2019
    • Lioncash's avatar
      kernel/process: Set page table when page table resizes occur. · 2abf979c
      Lioncash authored
      We need to ensure dynarmic gets a valid pointer if the page table is
      resized (the relevant pointers would be invalidated in this scenario).
      
      In this scenario, the page table can be resized depending on what kind
      of address space is specified within the NPDM metadata (if it's
      present).
      2abf979c
  5. Apr 08, 2019
    • zarroboogs's avatar
      added a toggle to force 30fps mode · be6466d5
      zarroboogs authored
      be6466d5
    • Lioncash's avatar
      kernel/svc: Deglobalize the supervisor call handlers · b117ca5f
      Lioncash authored
      Adjusts the interface of the wrappers to take a system reference, which
      allows accessing a system instance without using the global accessors.
      
      This also allows getting rid of all global accessors within the
      supervisor call handling code. While this does make the wrappers
      themselves slightly more noisy, this will be further cleaned up in a
      follow-up. This eliminates the global system accessors in the current
      code while preserving the existing interface.
      b117ca5f
  6. Apr 07, 2019
  7. Apr 06, 2019
  8. Apr 05, 2019
  9. Apr 04, 2019
    • Lioncash's avatar
      hle/service: Resolve unused variable warnings · 7f506be2
      Lioncash authored
      In several places, we have request parsers where there's nothing to
      really parse, simply because the HLE function in question operates on
      buffers. In these cases we can just remove these instances altogether.
      
      In the other cases, we can retrieve the relevant members from the parser
      and at least log them out, giving them some use.
      7f506be2
    • Lioncash's avatar
      core: Add missing override specifiers where applicable · 5b0a9f8b
      Lioncash authored
      Applies the override specifier where applicable. In the case of
      destructors that are  defaulted in their definition, they can
      simply be removed.
      
      This also removes the unnecessary inclusions being done in audin_u and
      audrec_u, given their close proximity.
      5b0a9f8b
    • Lioncash's avatar
      file_sys/control_metadata: Amend naming of members · a973271b
      Lioncash authored
      Quite a bit of these were out of sync with Switchbrew (and in some cases
      entirely wrong). While we're at it, also expand the section of named
      members. A segment within the control metadata is used to specify
      maximum values for the user, device, and cache storage max sizes and
      journal sizes.
      
      These appear to be generally used by the am service (e.g. in
      CreateCacheStorage, etc).
      a973271b
    • Lioncash's avatar
      kernel/svc: Properly sanitize mutex address in WaitProcessWideKeyAtomic · c39c8e69
      Lioncash authored
      We need to be checking whether or not the given address is within the
      kernel address space or if the given address isn't word-aligned and bail
      in these scenarios instead of trashing any kernel state.
      c39c8e69
  10. Apr 03, 2019
  11. Apr 02, 2019
    • Lioncash's avatar
      kernel/svc: Implement svcGetThreadList · 28719ee3
      Lioncash authored
      Similarly like svcGetProcessList, this retrieves the list of threads
      from the current process. In the kernel itself, a process instance
      maintains a list of threads, which are used within this function.
      
      Threads are registered to a process' thread list at thread
      initialization, and unregistered from the list upon thread destruction
      (if said thread has a non-null owning process).
      
      We assert on the debug event case, as we currently don't implement
      kernel debug objects.
      28719ee3
    • Lioncash's avatar
      kernel/svc: Implement svcGetProcessList · cb2bce80
      Lioncash authored
      This service function simply copies out a specified number of kernel
      process IDs, while simultaneously reporting the total number of
      processes.
      cb2bce80
    • ReinUsesLisp's avatar
      process: Fix up compilation · 592a24ae
      ReinUsesLisp authored
      592a24ae
  12. Apr 01, 2019
Loading