From: Kevin O'Connor <kevin@koconnor.net>
To: Volker Ruppert <info@vruppert.de>
Cc: bochs-developers@lists.sourceforge.net,
David Wentzlaff <wentzlaf@cag.csail.mit.edu>,
qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [Bochs-developers] [PATCH] BIOS delay_ms optimized away with?BX_QEMU enabled
Date: Sun, 30 Mar 2008 13:07:03 -0400 [thread overview]
Message-ID: <20080330170703.GA3304@ohio.lan> (raw)
In-Reply-To: <200803301848.29884.info@vruppert.de>
On Sun, Mar 30, 2008 at 06:48:29PM +0200, Volker Ruppert wrote:
> > Do you know why QEMU uses different code for the delay? What's wrong
> > with using inb(0x61) for both bochs and qemu?
>
> Bochs really supports the refresh toggle bit of port 0x61, but Qemu toggles on
> every read access. I have created a patch for Qemu that implements the 15
> usec toggle, but the Qemu developers haven't accepted it. They are not sure
> whether the refresh toggle bit exists on modern hardware.
Ughh. The same delay mechanism is used in the int/15/86 handler even
on qemu. See rombios.c:int15_function32().
Is there a better way to implement a usleep function?
Thanks for the info.
-Kevin
prev parent reply other threads:[~2008-03-30 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 2:12 [Qemu-devel] [PATCH] BIOS delay_ms optimized away with BX_QEMU enabled David Wentzlaff
2008-03-30 15:41 ` [Qemu-devel] Re: [Bochs-developers] " Kevin O'Connor
2008-03-30 16:48 ` Volker Ruppert
2008-03-30 17:07 ` Kevin O'Connor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080330170703.GA3304@ohio.lan \
--to=kevin@koconnor.net \
--cc=bochs-developers@lists.sourceforge.net \
--cc=info@vruppert.de \
--cc=qemu-devel@nongnu.org \
--cc=wentzlaf@cag.csail.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).