Commit Graph

17 Commits

Author SHA1 Message Date
yellows8
3fce0d49e2
time: Fixed signedness issue with time calculation, closes #522. 2021-02-12 12:33:24 -05:00
fincs
fbd97a1fc3
time: minor cleanup in steady clock timepoint calculation 2020-04-11 00:20:21 +02:00
fincs
39629f5a67
timeGetCurrentTime: add shared memory support [6.0.0+] 2020-04-11 00:16:07 +02:00
fincs
b0d96342e8
time: Add timeGetStandardSteadyClockInternalOffset [3.0.0+] 2020-04-11 00:13:21 +02:00
fincs
b4db31e536
time: Expose TimeStandardSteadyClockTimePointType, correct TimeSystemClockContext 2020-04-11 00:08:12 +02:00
fincs
b18ae1c884
time: Add timeGetStandardSteadyClockTimePoint (uses sharedmem on 6.x+, ISteadyClock prior to 6.x) 2020-04-10 19:42:31 +02:00
fincs
2edfb7cc56
time: Retrieve and expose shared memory [6.0.0+] 2020-04-10 17:18:12 +02:00
yellows8
fa27331045
Initialize time by using TimeServiceType/__nx_time_service_type, with the default now being User. 2019-11-01 13:20:55 -04:00
yellows8
040b33c457
time: Updated for new-ipc. Renamed _timeGetClockSession to timeGetServiceSession_SystemClock, and added it to the .h. Added timeGetServiceSession_TimeZoneService. Fixed the order of cmds. Fixed param types for timeGetTotalLocationNameCount, timeLoadLocationNameList, timeToPosixTime, and timeToPosixTimeWithMyRule. The location_name_size param for timeLoadLocationNameList was replaced with location_name_max, which is max entries instead of buffer byte-size. Internal improvements and improved docs. 2019-10-06 22:06:22 -04:00
fincs
c3f0210cf6
time: Correct timeToPosixTime(WithMyRule) to accept number of timestamps instead of raw byte size 2019-09-22 18:12:28 +02:00
friedkeenan
da4c060278 Add a bunch of GetServiceSession functions (#305)
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00
Thomas Guillemard
2c1763c692 Add more ITimeZoneService related commands (#300)
This commit adds timeGetDeviceLocationName, timeSetDeviceLocationName, timeGetTotalLocationNameCount, timeLoadLocationNameList, timeLoadTimeZoneRule, timeToPosixTime, timeToPosixTimeWithMyRule, and timeToCalendarTime.
2019-07-03 21:29:24 +02:00
yellows8
4fb364060c Added support for timezones, hence localtime() will now return actual localtime. Added timeToCalendarTimeWithMyRule and TimeCalendarTime/TimeCalendarAdditionalInfo, which are used for timezones support. 2018-10-05 19:59:24 -04:00
plutoo
a102c64341 Introduce atomics.c, refcounting on all services 2018-03-10 14:33:40 +01:00
plutoo
d12e99e3ad Move ipc.h to kernel/ 2018-03-10 14:03:29 +01:00
yellows8
d61154f0e5 Added timeSetCurrentTime() and attempt to initialize time-serv with 'time:s' first. 2018-02-21 00:26:21 -05:00
yellows8
14263ddd78 Initial time support, timezones are not handled yet. 2018-02-20 18:17:32 -05:00