[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
delay loops in i386 BSPs
- Date: 3 Dec 1999 14:43:07 -0500
- From: Ian Lance Taylor <ian@zembu.com>
- Subject: delay loops in i386 BSPs
Does anybody have any code for properly calibrated delay loops in the
i386 BSPs?
Most of the BSPs have a simple minded delay macro, which is incorrect
on most machines.
The code in pc386/timer/timer.c calibrates a timer, but unfortunately
only calibrates for milliseconds. Most drivers need microsecond
delays.
Ian