For i/o delays on x86, Linux uses a sequence of outp(0x80). 0x80 is
usually unsed.
One to three times should be quite sufficient.

Jan

ex Roman wrote:
> On 06 Jul 2007 17:04:19 -0500, Haudy Kazemi <[EMAIL PROTECTED]> wrote:
>> On Jul 6 2007, Alex Roman wrote:
>> I'd avoid straight loops...with those you run into processor speed
>> issues...runs too fast on new CPUs, runs too slow on old hardware. Of
>> course I guess you could calibrate some straight loops to the RTC,
>> and then
>> use the loops rather than polling the RTC periodically, but I don't
>> think
>> the extra level of complication would provide any real benefit.
>
> Yes, I am reluctant to use loops for that reason.
>
> I could definitely do a simple read RTC in a loop until the time
> difference from when I started the loop is what I want it to be...
>
> I'll try to get that working, but I am open to other suggestions as well!
>
>
> Thanks!
>



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to