CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/06/26 12:48:31
Modified files:
sys/sys : time.h
sys/kern : kern_tc.c
share/man/man4/man4.octeon: octrtc.4
share/man/man9 : hardclock.9 inittodr.9 microtime.9
ppsratecheck.9 ratecheck.9 resettodr.9
Removed files:
share/man/man9 : time_second.9
Log message:
timecounting: deprecate time_second(9), time_uptime(9)
time_second(9) has been replaced in the kernel by gettime(9).
time_uptime(9) has been replaced in the kernel by getuptime(9).
New code should use the replacement interfaces. They do not suffer
from the split-read problem inherent to the time_* variables on 32-bit
platforms.
The variables remain in sys/kern/kern_tc.c for use via kvm(3) when
examining kernel core dumps.
This commit completes the deprecation process:
- Remove the extern'd definitions for time_second and time_uptime
from sys/time.h.
- Replace manpage cross-references to time_second(9)/time_uptime(9)
with references to microtime(9) or a related interface.
- Move the time_second.9 manpage to the attic.
With input from dlg@, kettenis@, visa@, and tedu@.
ok kettenis@