Dear "J. William Campbell", In message <4ddf2072.5090...@comcast.net> you wrote: ... > The problem is that the way we previously detected wrapping does not > work if the interrupt rate is == to the counter wrap time, which it > essentially always is. If get_ticks is trying to update the wrap count
You ignore the fact that this is only ever a problem when the rollover cannot signal through an interrupt or similar. Also, some processors allow daisy-chaning of timers, etc. Again, I would really like to know about how many exotic systems we are talking that fulfil your worst-case expectations. I bet the overwhelming majority behaves absolutely harmless. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The software required `Windows 95 or better', so I installed Linux. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot