Neil Horman wrote:
Yes, there are plenty of systems which don't have an RTC, or have an RTC which can't generate interrupts.It there any arch for which the rtc driver doesn't function?Ok, for those implementations which don't have an RTC that the rtc driver can drive, the mmap functionality will not work, but at that point what interface are you left with at all for obtaining periodic time?
Depends completely on the hardware. Some hardware will rely on cycle counters, some may rely on I/O devices which may or may not be mappable into user space, and some will have to enter the kernel.
These aren't compatible with your programming model. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "Dave Airlie" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- From: Neil Horman <[email protected]>
- Re: [PATCH] RTC: Add mmap method to rtc character driver
- Prev by Date: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion
- Next by Date: Re: kernel panic when sending MIDI sequencer events
- Previous by thread: Re: [PATCH] RTC: Add mmap method to rtc character driver
- Next by thread: A better interface, perhaps: a timed signal flag
- Index(es):