- Sep 21, 2016
-
-
Emmanuel Gil Peyrot authored
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
-
- Sep 18, 2016
-
-
Emmanuel Gil Peyrot authored
-
- Aug 16, 2015
-
-
Yuri Kunde Schlesner authored
This adds some structures necessary to support multiple memory regions in the future. It also adds support for different system memory types and the new linear heap mapping at 0x30000000.
-
- Jun 27, 2015
-
-
Emmanuel Gil Peyrot authored
-
- Jun 17, 2015
-
-
bunnei authored
-
- May 15, 2015
-
-
Subv authored
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
-
- May 11, 2015
- May 09, 2015
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
This has been obsoleted by the field in Process.
-
Yuri Kunde Schlesner authored
-
- May 07, 2015
-
-
Yuri Kunde Schlesner authored
-
- May 01, 2015
-
-
bunnei authored
-
- Apr 09, 2015
-
-
bunnei authored
-
- Feb 12, 2015
-
-
Subv 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 03, 2015
-
-
Lioncash authored
-
- Feb 02, 2015
-
-
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
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
- Jan 22, 2015
- Jan 21, 2015
- Jan 09, 2015
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Subv authored
-
- Jan 08, 2015
-
-
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.
-
- Dec 28, 2014
-
-
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.
-
Yuri Kunde Schlesner authored
-
- Dec 21, 2014
-
-
purpasmart96 authored
-