Skip to content
Snippets Groups Projects
  1. May 30, 2016
  2. May 21, 2016
  3. May 17, 2016
  4. May 07, 2016
    • Subv's avatar
      Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE... · d192fb06
      Subv authored
      Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
      
      Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.
      
      This is consistent with what the real kernel does.
      d192fb06
  5. Mar 21, 2016
  6. Dec 27, 2015
  7. Dec 01, 2015
  8. Oct 07, 2015
  9. Aug 16, 2015
  10. Jul 26, 2015
  11. Jul 20, 2015
  12. Jul 17, 2015
    • Yuri Kunde Schlesner's avatar
      Ensure all kernel objects are released during shutdown · dc39d069
      Yuri Kunde Schlesner authored
      This commit fixes several kernel object leaks. The most severe of them
      was threads not being removed from the private handle table used for
      CoreTiming events. This resulted in Threads never being released, which
      in turn held references to Process, causing CodeSets to never be freed
      when loading other applications.
      dc39d069
  13. Jun 17, 2015
  14. May 29, 2015
  15. May 20, 2015
  16. May 15, 2015
    • Yuri Kunde Schlesner's avatar
      Memmap: Re-organize memory function in two files · 7ada357b
      Yuri Kunde Schlesner authored
      memory.cpp/h contains definitions related to acessing memory and
      configuring the address space
      mem_map.cpp/h contains higher-level definitions related to configuring
      the address space accoording to the kernel and allocating memory.
      7ada357b
  17. May 14, 2015
  18. May 12, 2015
  19. May 11, 2015
  20. May 10, 2015
  21. May 09, 2015
  22. May 07, 2015
  23. May 01, 2015
  24. Apr 09, 2015
  25. Feb 20, 2015
  26. 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
  27. 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
  28. Feb 02, 2015
  29. Feb 01, 2015
Loading