Re: [RFC] new timeofday core subsystem (v.A1)

From: Christoph Lameter
Date: Wed Dec 08 2004 - 13:48:35 EST


On Tue, 7 Dec 2004, john stultz wrote:

> +struct timesource_t {
> + char* name;
> + int priority;
> + enum {
> + TIMESOURCE_FUNCTION,
> + TIMESOURCE_MMIO_32,
> + TIMESOURCE_MMIO_64
> + } type;
> + cycle_t (*read_fnct)(void);
> + void* ptr;
> + cycle_t mask;
> + u32 mult;
> + u32 shift;
> +};

Maybe add TIMESOURCE_CPU or so? How can one specify a time source in a
cpu register?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/