On 10-5-12 上午6:14, Samuel Thibault wrote: > Hello, > > I do not have the time to try it myself, just commenting: > > Da Zheng, le Tue 11 May 2010 09:35:34 +0800, a écrit : >> Linux drivers use jiffies to measure time. Unfortunately, Mach doesn't >> provide it > > Mmm, but Mach's time device provides a read-only page where the current > time is available. Isn't that enough? Mach provides the time in seconds and microseconds, but the Linux drivers need jiffies. DDE has to convert microseconds into jiffies so `jiffies' in the porting of DDE is defined as a macro instead of a variable. It sometimes causes some troubles because some Linux structures have a field named jiffies.
Zheng Da