
12 Jan
2005
12 Jan
'05
1:33 a.m.
Dear Shawn,
sorry for the long delay.
In message c3d0340b04101516017ab281a5@mail.gmail.com you wrote:
Shall we have a rule to guide where and when these functions should be used?
Ye. Please feel free to submit a patch to document this.
To my understanding based on your fix for AT91RM9200 systems,
- get_timer_maksed() should return the number of clock ticks, just as
get_ticks(). 2. get_timer_raw() returns the value of timestamp, which counts how many clocks elapse according to the timer's setting. It'a local function and should not be called in any other modules.
Indeed. And ideally we should get rid of get_timer_masked() and make get_timer() work as expected.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Include the success of others in your dreams for your own success.