[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: state updates on porting of dde linux26
From: |
Da Zheng |
Subject: |
Re: state updates on porting of dde linux26 |
Date: |
Wed, 12 May 2010 17:12:56 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
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