mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
43469be308
Move definition of `stat_imask' to clock.c. clock.c: Rename `rtcmask' to `stat_imask' and export it. Rename `clkmask' to `clk_imask' for consistency. Only calculate TIMER_DIV(hz) once. Merge debugging and "garbage" code to produce debugging code and format the output better. Make writertc() static inline and use it everywhere. Now all accesses to the clock registers go through rtcin() and writertc(). Move rtc initialization to cpu_initclocks(). Merge enablertclock() with cpu_initclocks() and remove enablertclock(). The extra entry point was just a leftover from 1.1.5. |
||
---|---|---|
.. | ||
clock.c | ||
icu.h | ||
isa.c | ||
isa.h | ||
npx.c | ||
timerreg.h | ||
vector.s | ||
vector.S |