summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/time_sharedmemory.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-12time: implement ContinuousAdjustmentTimePointLiam1-2/+3
2022-12-22time: add LockFreeAtomicTypeLiam1-32/+55
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph1-2/+2
This completes the removal of the old UUID implementation.
2022-02-05service: Migrate to the new UUID implementationMorph1-2/+2
2021-11-04core: Remove unused includesameerj1-1/+0
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-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.
2021-05-06hle: kernel: Migrate KSharedMemory to KAutoObject.bunnei1-4/+0
2021-04-26service: Eliminate cases of member shadowingLioncash1-2/+2
Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
2021-02-19hle: kernel: Rename SharedMemory to KSharedMemory.bunnei1-3/+3
2021-01-29core: hle: kernel: Rename Thread to KThread.bunnei1-1/+1
2020-01-04service: time: Rewrite implementation of glue services.bunnei1-19/+16
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei1-2/+2
* 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.
2019-06-26Addressed issuesDavid Marcec1-17/+20
2019-06-25Implement Time::GetSharedMemoryNativeHandleDavid Marcec1-0/+71
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