Re: mvme68k timecounters.... untested
Joerg Sonnenberger <joerg <at> britannica.bec.de>
2008-01-04 16:53:47 GMT
On Fri, Jan 04, 2008 at 10:54:13PM +0900, Izumi Tsutsui wrote:
> <at> <at> -75,10 +77,12 <at> <at>
> static int clock_pcc_profintr __P((void *));
> static int clock_pcc_statintr __P((void *));
> static void clock_pcc_initclocks __P((void *, int, int));
> -static long clock_pcc_microtime __P((void *));
> static void clock_pcc_shutdown __P((void *));
> +static uint32_t clock_pcc_getcount(struct timecounter *);
static u_int clock_pcc_getcount(struct timecounter *);
to match the prototype.
>
> static struct clock_pcc_softc *clock_pcc_sc;
> +static uint32_t clock_pcc_count;
> +static uint16_t clock_pcc_reload;
>
> /* ARGSUSED */
> int
> <at> <at> -75,10 +77,11 <at> <at>
> static int clock_pcctwo_profintr(void *);
> static int clock_pcctwo_statintr(void *);
> static void clock_pcctwo_initclocks(void *, int, int);
> -static long clock_pcctwo_microtime(void *);
> static void clock_pcctwo_shutdown(void *);
> +static uint32_t clock_pcctwo_getcount(struct timecounter *);
Same here.
>
(Continue reading)