MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mips_timer_early_init

Function mips_timer_early_init

freebsd/mips/nlm/tick.c:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88static unsigned counter_get_timecount(struct timecounter *tc);
89
90void
91mips_timer_early_init(uint64_t clock_hz)
92{
93 /* Initialize clock early so that we can use DELAY sooner */
94 counter_freq = clock_hz;
95 cycles_per_usec = (clock_hz / (1000 * 1000));
96}
97
98void
99platform_initclocks(void)

Callers 4

platform_startFunction · 0.70
platform_startFunction · 0.50
platform_startFunction · 0.50
platform_startFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected