Messages in this thread | | | Date | Wed, 8 Dec 2004 10:44:42 -0800 (PST) | From | Christoph Lameter <> | Subject | Re: [RFC] new timeofday core subsystem (v.A1) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |