Re: device driver for the SGI system clock, mmtimer

From: Robert Picco
Date: Thu Sep 16 2004 - 13:02:33 EST


Alan Cox wrote:

On Iau, 2004-09-16 at 17:09, Jesse Barnes wrote:


I think Christoph already looked at that. And HPET doesn't provide mmap functionality, does it? I.e. allow a userspace program to dereference the counter register directly?



It can do but that assumes nothing else is mapped into the same page
that would be harmful or reveal information that should not be revealed
etc..



HPET driver does provide mmap for user programs.

I agree with caution of other device registers in the same page. -
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/