From: Stefan Hajnoczi <stefanha@gmail.com>
To: Peter Lieven <pl@dlh.net>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH] pc: move port 92 stuff back to pc.c from pckbd.c
Date: Wed, 29 Dec 2010 05:28:46 +0000 [thread overview]
Message-ID: <AANLkTimgfHQdGNX-c8=gMOKiL0xg8ePiLgmtPYuVWn1g@mail.gmail.com> (raw)
In-Reply-To: <035B2B8A-3932-4B90-8EA5-D95D3E2F4467@dlh.net>
On Tue, Dec 28, 2010 at 9:45 PM, Peter Lieven <pl@dlh.net> wrote:
> What happens if I set the A20 Gate via the keyboard controller and then read its status via ioport 0x92? This doesn't work, or does it?
> What was wrong reading the A20 via
>
> int ioport_get_a20(void)
> {
> return ((first_cpu->a20_mask >> 20) & 1);
> }
>
> every time ioport 0x92 or the keyobard outport is read?
I wonder the same thing.
Also, stashing the uint8_t output value away is not migration-friendly
at the moment?
Stefan
next prev parent reply other threads:[~2010-12-29 5:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 21:24 [Qemu-devel] [PATCH] pc: move port 92 stuff back to pc.c from pckbd.c Blue Swirl
2010-12-28 21:45 ` [Qemu-devel] " Peter Lieven
2010-12-29 5:28 ` Stefan Hajnoczi [this message]
2010-12-29 17:59 ` Blue Swirl
2010-12-29 0:01 ` [Qemu-devel] " Andreas Färber
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='AANLkTimgfHQdGNX-c8=gMOKiL0xg8ePiLgmtPYuVWn1g@mail.gmail.com' \
--to=stefanha@gmail.com \
--cc=blauwirbel@gmail.com \
--cc=pl@dlh.net \
--cc=qemu-devel@nongnu.org \
/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).