summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_sharedmemory.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* time: Use compile time division for TimeSpanType conversionMorph2023-06-081-2/+3
|
* time: implement ContinuousAdjustmentTimePointLiam2023-05-121-0/+19
|
* time: add LockFreeAtomicTypeLiam2022-12-221-8/+9
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: Remove unused includesameerj2021-11-041-1/+0
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* hle: kernel: Migrate KSharedMemory to KAutoObject.bunnei2021-05-061-10/+5
|
* service: Eliminate cases of member shadowingLioncash2021-04-261-2/+1
| | | | | Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
* hle: kernel: Rename SharedMemory to KSharedMemory.bunnei2021-02-191-1/+1
|
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-2/+1
| | | | | | | This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
* service: time: Update for new shared memory layout.bunnei2020-04-171-3/+2
|
* Core: Set all hardware emulation constants in a single file.Fernando Sahmkow2020-02-121-1/+2
|
* service: time: Rewrite implementation of glue services.bunnei2020-01-041-32/+21
|
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-1/+1
| | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
* Addressed issuesDavid Marcec2019-06-261-19/+28
|
* Implement Time::GetSharedMemoryNativeHandleDavid Marcec2019-06-251-0/+59
This PR attempts to implement the shared memory provided by GetSharedMemoryNativeHandle. There is still more work to be done however that requires a rehaul of the current time module to handle clock contexts. This PR is mainly to get the basic functionality of the SharedMemory working and allow the use of addition to it whilst things get improved on. Things to note: Memory Barriers are used in the SharedMemory and a better solution would need to be done to implement this. Currently in this PR Iā€™m faking the memory barriers as everything is sync and single threaded. They work by incrementing the counter and just populate the two data slots. On data reading, it will read the last added data. Specific values in the shared memory would need to be updated periodically. This isn't included in this PR since we don't actively do this yet. In a later PR when time is refactored this should be done. Finally, as we don't handle clock contexts. When time is refactored, we will need to update the shared memory for specific contexts. This PR does this already however since the contexts are all identical and not separated. We're just updating the same values for each context which in this case is empty. Tiime:SetStandardUserSystemClockAutomaticCorrectionEnabled, Time:IsStandardUserSystemClockAutomaticCorrectionEnabled are also partially implemented in this PR. The reason the implementation is partial is because once again, a lack of clock contexts. This will be improved on in a future PR. This PR closes issue #2556