Skip to content
  1. Nov 27, 2018
    • Lioncash's avatar
      svc: Implement svcCreateResourceLimit() · 4ef2af8c
      Lioncash authored
      This function simply creates a ResourceLimit instance and attempts to
      create a handle for it within the current process' handle table. If the
      kernal fails to either create the ResourceLimit instance or create a
      handle for the ResourceLimit instance, it returns a failure code
      (OUT_OF_RESOURCE, and HANDLE_TABLE_FULL respectively). Finally, it exits
      by providing the output parameter with the handle value for the
      ResourceLimit instance and returning that it was successful.
      
      Note: We do not return OUT_OF_RESOURCE because, if yuzu runs out of
      available memory, then new will currently throw. We *could* allocate the
      kernel instance with std::nothrow, however this would be inconsistent
      with how all other kernel objects are currently allocated.
      4ef2af8c
  2. Nov 26, 2018
  3. Nov 25, 2018
  4. Nov 24, 2018
  5. Nov 23, 2018
  6. Nov 22, 2018
Loading