Skip to content
Snippets Groups Projects
  1. Apr 09, 2015
  2. Feb 12, 2015
  3. Feb 11, 2015
    • archshift's avatar
      Asserts: break/crash program, fit to style guide; log.h->assert.h · ef24e72b
      archshift authored
      Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
      As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)
      
      Also removed some GEKKO cruft.
      ef24e72b
  4. Feb 10, 2015
    • Kevin Hartman's avatar
      Scheduler refactor Pt. 1 · 5fcbfc06
      Kevin Hartman authored
      * Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid
      for a thread at any given point in the system.
      * Removes dead code from thread.cpp.
      * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation.
      
      Other changes:
      * Fixed comments in arm interfaces.
      * Updated comments in thread.cpp
      * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp.
      * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
      5fcbfc06
  5. Feb 03, 2015
  6. Feb 02, 2015
  7. Jan 22, 2015
  8. Jan 21, 2015
  9. Jan 09, 2015
  10. Jan 08, 2015
    • Subv's avatar
      Threads: Use a dummy idle thread when no other are ready. · 60a373a7
      Subv authored
      This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
      60a373a7
  11. Dec 28, 2014
    • Yuri Kunde Schlesner's avatar
      Kernel: New handle manager · 7e2903cb
      Yuri Kunde Schlesner authored
      This handle manager more closely mirrors the behaviour of the CTR-OS
      one. In addition object ref-counts and support for DuplicateHandle have
      been added.
      
      Note that support for DuplicateHandle is still experimental, since parts
      of the kernel still use Handles internally, which will likely cause
      troubles if two different handles to the same object are used to e.g.
      wait on a synchronization primitive.
      7e2903cb
    • Yuri Kunde Schlesner's avatar
      Rename ObjectPool to HandleTable · 73fba22c
      Yuri Kunde Schlesner authored
      73fba22c
  12. Dec 21, 2014
  13. Dec 18, 2014
    • Subv's avatar
      Filesystem/Archives: Implemented the SaveData archive · ea9ce0fb
      Subv authored
      The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
      
      Got rid of the code duplication in File and Directory
      
      Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
      
      FS_U: Use the correct error code when a file wasn't found
      ea9ce0fb
  14. Dec 16, 2014
  15. Dec 13, 2014
  16. Dec 04, 2014
  17. Nov 19, 2014
  18. Sep 15, 2014
  19. Sep 09, 2014
  20. Aug 19, 2014
  21. Aug 18, 2014
  22. Jul 05, 2014
  23. Jun 13, 2014
Loading