- May 20, 2015
-
-
bunnei authored
-
- May 15, 2015
-
-
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.
-
- May 14, 2015
-
-
Lioncash authored
-
- May 12, 2015
-
-
Yuri Kunde Schlesner authored
Instead just use nullptr to represent no thread is active.
-
Subv authored
-
Subv authored
-
- May 11, 2015
-
-
Subv authored
-
Yuri Kunde Schlesner authored
-
- May 10, 2015
- May 09, 2015
-
-
Yuri Kunde Schlesner authored
-
- May 07, 2015
-
-
Yuri Kunde Schlesner authored
-
- May 01, 2015
-
-
bunnei authored
-
- Apr 09, 2015
- Feb 20, 2015
-
-
archshift authored
-
- Feb 11, 2015
-
-
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.
-
- Feb 10, 2015
-
-
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.
-
- Feb 02, 2015
-
-
Yuri Kunde Schlesner authored
They're finally unnecessary, and will stop cluttering the application's handle table.
-
Yuri Kunde Schlesner authored
During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.)
-
Yuri Kunde Schlesner authored
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
This is to support the removal of GetHandle soon
-
Yuri Kunde Schlesner authored
-
- Feb 01, 2015
-
-
Lioncash authored
Remove unnecessary/unused struct variables.
-
- Jan 22, 2015
-
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
- ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
- Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles
-
bunnei authored
-
bunnei authored
-
- Jan 21, 2015