summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/timer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n302018-01-091-6/+3
| | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming
* ResultVal: Remove MoveFrom()Yuri Kunde Schlesner2017-06-191-1/+1
| | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
* Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner2017-05-301-0/+1
|
* Timer: restore missing signaled=true from #2421wwylele2017-02-271-0/+2
|
* Fix log entry in timer::signal (#2600)B3n302017-02-271-1/+1
|
* Timers: Immediately signal the timer if it was started with an initial value of 0.Subv2017-02-221-16/+23
|
* Merge pull request #2397 from Subv/pulsebunnei2017-01-101-5/+7
|\ | | | | Kernel: Implemented Pulse event and timers.
| * Kernel: Implemented Pulse event and timers.Subv2017-01-051-5/+7
| | | | | | | | Closes #1904
* | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv2017-01-041-3/+3
|/ | | | This will be useful when implementing mutex priority inheritance.
* Threading: Reworked the way our scheduler works.Subv2016-12-041-4/+0
| | | | | | | | | | 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.
* Kernel/Events: Log an error when trying to create Pulse events and timers.Subv2016-11-191-0/+5
| | | | Related to #1904
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-6/+3
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-8/+11
|
* svc: Make ResetType an enum classLioncash2016-03-121-1/+1
|
* HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered.Subv2015-12-301-3/+3
| | | | Closes #1139
* general: Silence some warnings when using clangLioncash2015-09-161-2/+4
|
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-1/+1
|
* Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.bunnei2015-05-211-0/+4
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+2
|
* Kernel: Properly initialize and shutdown all modules.bunnei2015-05-021-1/+2
|
* Kernel: Use the correct format string for u64 hex.Emmanuel Gil Peyrot2015-04-141-1/+1
|
* Build: Fixed some warningsSubv2015-02-121-1/+1
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-1/+1
| | | | | | | 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.
* Kernel: Stop creating useless Handles during object creationYuri Kunde Schlesner2015-02-021-4/+3
| | | | | They're finally unnecessary, and will stop cluttering the application's handle table.
* Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner2015-02-021-0/+3
| | | | | | 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.)
* Kernel: Use separate Handle tables for CoreTiming userdataYuri Kunde Schlesner2015-02-021-7/+8
| | | | This is to support the removal of GetHandle soon
* Kernel: Remove previous scheduled event when a Timer is re-SetYuri Kunde Schlesner2015-02-021-0/+3
|
* Kernel: Convert Timer to (mostly) not use HandlesYuri Kunde Schlesner2015-01-301-76/+31
|
* Kernel: Remove useless/duplicated comments; mark functions staticYuri Kunde Schlesner2015-01-301-1/+1
|
* Kernel: Renamed some functions for clarity.bunnei2015-01-221-1/+1
| | | | | - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
* Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei2015-01-221-4/+4
|
* WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei2015-01-221-1/+1
|
* Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei2015-01-221-7/+2
|
* WaitSynchronizationN: Refactor to fix several bugsbunnei2015-01-221-3/+3
| | | | | | - 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
* Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei2015-01-221-1/+5
|
* WaitSynchronizationN: Implement return valuesbunnei2015-01-221-3/+3
|
* Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei2015-01-221-9/+3
|
* Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner2015-01-091-5/+5
|
* Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner2015-01-091-4/+6
|
* SVC: Implemented the Timer service calls.Subv2015-01-091-0/+142