aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/time
AgeCommit message (Collapse)Author
2022-12-21time: add LockFreeAtomicTypeLiam
2022-11-13Add break for default casesKyle Kienapfel
Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return
2022-10-12kernel: remove KWritableEventLiam
2022-06-26core: Replace all instances of ResultCode with Resultgerman77
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-05-13time_zone_manager: Use s8 for month length tablesMorph
Using this smaller type saves 512 bytes in the compiled executable.
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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 implMorph
This completes the removal of the old UUID implementation.
2022-02-05service: Migrate to the new UUID implementationMorph
2021-11-03core: Fix transitive include build errorsameerj
2021-11-03core: Remove unused includesameerj
2021-10-17settings: Remove std::chrono usageameerj
Alleviates the dependency on chrono for all files that include settings.h
2021-10-07service: Reduce header include overheadMorph
2021-10-05Merge pull request #7115 from ameerj/log-compilebunnei
common/logging: Reduce dependent header include overhead
2021-10-01service: Replace service event creation with ServiceContext::CreateEventMorph
The service context helps to manage all created events and allows us to close them upon destruction.
2021-10-01common/logging: Reduce scope of fmt includeameerj
2021-09-29style: Remove extra space preceding the :: operatorMorph
2021-07-14service: Append service name prefix to common filenamesMorph
2021-06-18service: time: Use GetFileRelative to get files within subdirectoriesMorph
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-16core: Make variable shadowing a compile-time errorLioncash
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-05hle: kernel: Migrate KClientPort to KAutoObject.bunnei
2021-05-05hle: kernel: Migrate KSession, KClientSession, and KServerSession to ↵bunnei
KAutoObject.
2021-05-05hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei
2021-05-05hle: kernel: Migrate KEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Migrate KSharedMemory to KAutoObject.bunnei
2021-05-05hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei
2021-05-04service: Resolve cases of member field shadowingLioncash
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-04-26service: Eliminate cases of member shadowingLioncash
Resolves a few localized instances of member variable shadowing. Brings us a little closer to turning shadowing warnings into errors.
2021-04-21Merge pull request #6214 from Morph1984/time-fix-kirby-clashbunnei
time: Fix GetClockSnapshotFromSystemClockContext
2021-04-19general: Write buffers before pushing raw argumentsMorph
For consistency with the rest of the service implementations
2021-04-19time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshotMorph
2021-04-19time: Fix GetClockSnapshotFromSystemClockContextMorph
This removes an incorrect alignment usage and corrects the positions of the popped parameters. - Fixes Super Kirby Clash crashing on boot
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-04-11Merge pull request #6170 from Morph1984/more-time-fixesbunnei
service: time: Setup the network clock with the local clock context
2021-04-10Merge pull request #6167 from Morph1984/time-fixbunnei
service: time: Fix CalculateStandardUserSystemClockDifferenceByUser
2021-04-08ITimeZoneService: Update to 12.xgerman77
2021-04-08service: time: Setup the network clock with the local clock contextMorph
Setting the network time allows some time based events using the network clock to not reset.
2021-04-07service: time: Fix CalculateStandardUserSystemClockDifferenceByUserMorph
CalculateStandardUserSystemClockDifferenceByUser passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
2021-03-13Merge pull request #6054 from Morph1984/time-GetClockSnapshotbunnei
time: Assign the current time point to the ClockSnapshot
2021-03-10time: Fix CalculateSpanBetween implementationMorph
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments. Partially fixes Super Smash Bros. Ultimate's Spirit Board
2021-03-10time: Assign the current time point to the ClockSnapshotMorph
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
2021-02-27Merge pull request #5953 from bunnei/memory-refactor-1bunnei
Kernel Rework: Memory updates and refactoring (Part 1)
2021-02-20kernel: Fix resource release exception on exitameerj
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance. This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
2021-02-18hle: kernel: Rename SharedMemory to KSharedMemory.bunnei
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei
2021-02-05hle: kernel: Rename WritableEvent to KWritableEvent.bunnei
2021-01-28core: hle: kernel: Rename Thread to KThread.bunnei
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp
This requires making several types trivial and properly initialize them whenever they are called.
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei