Deleted Added
full compact
clock.h (202175) clock.h (205364)
1/*
2 * Garrett Wollman, September 1994.
3 * This file is in the public domain.
4 * Kernel interface to machine-dependent clock driver.
5 *
6 * JNPR: clock.h,v 1.6.2.1 2007/08/29 09:36:05 girish
7 * from: src/sys/alpha/include/clock.h,v 1.5 1999/12/29 04:27:55 peter
1/*
2 * Garrett Wollman, September 1994.
3 * This file is in the public domain.
4 * Kernel interface to machine-dependent clock driver.
5 *
6 * JNPR: clock.h,v 1.6.2.1 2007/08/29 09:36:05 girish
7 * from: src/sys/alpha/include/clock.h,v 1.5 1999/12/29 04:27:55 peter
8 * $FreeBSD: head/sys/mips/include/clock.h 202175 2010-01-12 21:36:08Z imp $
8 * $FreeBSD: head/sys/mips/include/clock.h 205364 2010-03-20 05:49:06Z neel $
9 */
10
11#ifndef _MACHINE_CLOCK_H_
12#define _MACHINE_CLOCK_H_
13
14#include <sys/bus.h>
15
16#ifdef _KERNEL

--- 12 unchanged lines hidden (view full) ---

29#define MIPS_DEFAULT_HZ (100 * 1000 * 1000)
30
31void mips_timer_early_init(uint64_t clock_hz);
32void mips_timer_init_params(uint64_t, int);
33
34extern uint64_t counter_freq;
35extern int clocks_running;
36
9 */
10
11#ifndef _MACHINE_CLOCK_H_
12#define _MACHINE_CLOCK_H_
13
14#include <sys/bus.h>
15
16#ifdef _KERNEL

--- 12 unchanged lines hidden (view full) ---

29#define MIPS_DEFAULT_HZ (100 * 1000 * 1000)
30
31void mips_timer_early_init(uint64_t clock_hz);
32void mips_timer_init_params(uint64_t, int);
33
34extern uint64_t counter_freq;
35extern int clocks_running;
36
37/*
38 * The 'platform_timecounter' pointer may be used to register a
39 * platform-specific timecounter.
40 *
41 * A default timecounter based on the CP0 COUNT register is always registered.
42 */
43extern struct timecounter *platform_timecounter;
44
37#endif
38
39#endif /* !_MACHINE_CLOCK_H_ */
45#endif
46
47#endif /* !_MACHINE_CLOCK_H_ */