- May 30, 2016
-
-
wwylele authored
-
- May 21, 2016
-
-
MerryMage authored
-
- May 17, 2016
-
-
Jannik Vogel authored
-
- May 07, 2016
-
-
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.
-
- Mar 21, 2016
-
-
Lioncash authored
This shouldn't be directly exposed if there's already a partial API that operates on it. We can just provide the rest of that API.
-
- Dec 27, 2015
-
-
Subv authored
This was verified with hwtests that i plan to upload later on.
-
- Dec 01, 2015
-
-
Yuri Kunde Schlesner authored
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
-
- Oct 07, 2015
-
-
Rohit Nirmal authored
-
- Aug 16, 2015
-
-
Yuri Kunde Schlesner authored
This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup.
-
- Jul 26, 2015
-
-
Lioncash authored
-
- Jul 20, 2015
-
-
Subv authored
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
-
- Jul 17, 2015
-
-
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.
-
- Jun 17, 2015
-
-
bunnei authored
-
- May 29, 2015
-
-
Emmanuel Gil Peyrot authored
-
- 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.
-