From: Michael Hanselmann <qemu@hansmi.ch>
To: qemu-devel@nongnu.org
Cc: igor.lvovsky@qumranet.com
Subject: Re: [Qemu-devel] [PATCH] Update i440FX/PIIX3 emulation
Date: Wed, 31 Oct 2007 19:19:32 +0100 [thread overview]
Message-ID: <20071031181932.GB30951@hansmi.ch> (raw)
In-Reply-To: <47288050.3010108@qumranet.com>
Hi Avi
On Wed, Oct 31, 2007 at 03:17:04PM +0200, Avi Kivity wrote:
>> --- bios/acpi-dsdt.dsl 28 Sep 2006 18:56:20 -0000 1.1
>> +++ bios/acpi-dsdt.dsl 30 Oct 2007 23:52:22 -0000
>> @@ -369,7 +369,7 @@ DefinitionBlock (
>> Method (_STA, 0, NotSerialized)
>> {
>> Store (0x0B, Local0)
>> - If (And (0x80, PRQ0, Local1))
>> + If (And (0x80, PRQ0, Local0))
>> {
>> Store (0x09, Local0)
>> }
> Can you explain this?
>
> The original code seems to return either 0xb (present, enabled, functional)
> or 0x9 (present, functional). The new code seems to return either 0x9
> (present, functional) or 0 (if PRQ0 had its seventh bit clear).
>
> Am I reading the code incorrectly?
It looks like you're correct. Here's the same function from a HP
Pavilion laptop:
Method (_STA, 0, NotSerialized)
{
If (And (PIRH, 0x80))
{
Return (0x09)
}
Return (0x0B)
}
Basically this means I have to go back to debug this stuff.
Sorry for the false alarm,
Michael
--
http://hansmi.ch/
prev parent reply other threads:[~2007-10-31 18:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 22:42 [Qemu-devel] [PATCH] Update i440FX/PIIX3 emulation Michael Hanselmann
2007-10-31 0:25 ` Michael Hanselmann
2007-10-31 13:17 ` Avi Kivity
2007-10-31 18:19 ` Michael Hanselmann [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=20071031181932.GB30951@hansmi.ch \
--to=qemu@hansmi.ch \
--cc=igor.lvovsky@qumranet.com \
--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).