Re: device driver for the SGI system clock, mmtimer

From: Marcello Barnaba
Date: Thu Sep 16 2004 - 11:40:05 EST


On Thu, 2004-09-16 at 18: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?

drivers/char/Kconfig:

config HPET_MMAP
bool "Allow mmap of HPET"
default y
depends on HPET
help
If you say Y here, user applications will be able to mmap
the HPET registers.

In some hardware implementations, the page containing HPET
registers may also contain other things that shouldn't be
exposed to the user. If this applies to your hardware,
say N here.
--
Marcello Barnaba - SoftMedia S.c.r.l. :: Mobile: +39 (340) 3698342
Via Mauro Amoruso, 11 - 70124 Bari :: Phone: +39 (080) 5046314
pub 1024D/F04476A2 :: 6807 EEA5 7F97 AC9A D8EF AE73 64CD 71A2 F044 76A2

Attachment: signature.asc
Description: This is a digitally signed message part