- Jul 23, 2018
- Mar 14, 2018
-
-
bunnei authored
-
- Jan 01, 2018
-
-
bunnei authored
-
- May 30, 2017
-
-
Yuri Kunde Schlesner authored
-
- May 29, 2017
-
-
Yuri Kunde Schlesner authored
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header.
-
- May 25, 2017
-
-
Yuri Kunde Schlesner authored
-
- Jan 05, 2017
-
-
Subv authored
-
Subv authored
This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
-
Subv authored
Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.
-
- Jan 04, 2017
- Dec 16, 2016
-
-
wwylele authored
-
- Dec 14, 2016
-
-
Subv authored
-
- Dec 10, 2016
-
-
Subv authored
-
- Dec 09, 2016
-
-
Subv authored
Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
-
- Dec 07, 2016
- Dec 04, 2016
-
-
Subv authored
-
Subv authored
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
-
- Nov 20, 2016
-
-
Subv authored
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
-
- Sep 22, 2016
-
-
wwylele authored
-
- Sep 21, 2016
-
-
Yuri Kunde Schlesner authored
-
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.
-