qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Gabriel L. Somlo" <gsomlo@gmail.com>
Cc: rene@exactcode.com, jan.kiszka@siemens.com, jbaron@redhat.com,
	qemu-devel@nongnu.org, agraf@suse.de, anthony@codemonkey.ws
Subject: Re: [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update
Date: Tue, 04 Dec 2012 17:56:55 +0100	[thread overview]
Message-ID: <50BE2B57.10501@redhat.com> (raw)
In-Reply-To: <20121204153957.GC13356@hedwig.ini.cmu.edu>

  Hi,

> The complete definition for the HPET on my MacPro5,1 is below; along
> with the 0xFED00000 value gleaned from the previous SeaBIOS version of
> _CRS, I came up with the above. Hopefully it works for WinXP too...

> Device (HPET) {
>     Name (_HID, EisaId ("PNP0103"))
>     Name (BUF0, ResourceTemplate () {
>         IRQNoFlags ()
>             {0}
>         IRQNoFlags ()
>             {8}
>         Memory32Fixed (ReadOnly,
>             0xFED00000,         // Address Base
>             0x00100000,         // Address Length
>             _Y09)
>     })
>     Method (_STA, 0, NotSerialized) {
>         If (LGreaterEqual (OSYS, 0x07D1)) {
>             If (HPAE) {
>                 Return (0x0F)
>             }
>         } Else {
>             If (HPAE) {
>                 Return (0x0B)
>             }
>         }
>         Return (0x00)
>     }
>     Method (_CRS, 0, Serialized) {
>         If (HPAE) {
>             CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y09._BAS,   HPT0)
>             If (LEqual (HPAS, 0x01)) {
>                 Store (0xFED10000, HPT0)
>             }
>             If (LEqual (HPAS, 0x02)) {
>                 Store (0xFED20000, HPT0)
>             }
>             If (LEqual (HPAS, 0x03)) {
>                 Store (0xFED30000, HPT0)
>             }
>         }
>         Return (BUF0)
>     }
> }

Ok, and how does the RTC look like on your MacPro?

thanks,
  Gerd

  reply	other threads:[~2012-12-04 16:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 10:11 [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update Gerd Hoffmann
2012-12-03 10:11 ` [Qemu-devel] [PATCH 1/3] seabios: update to 3d11108f45818d75140530a184c05680f1be51ad Gerd Hoffmann
2012-12-03 10:11 ` [Qemu-devel] [PATCH 2/3] configure: also symlink *.aml files Gerd Hoffmann
2012-12-03 10:11 ` [Qemu-devel] [PATCH 3/3] acpi: autoload dsdt Gerd Hoffmann
2012-12-03 18:47 ` [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update Jason Baron
2012-12-04  7:40   ` Gerd Hoffmann
2012-12-04  7:46     ` Jan Kiszka
2012-12-04 14:37     ` Jason Baron
2012-12-04 15:37       ` Gerd Hoffmann
2012-12-04 15:57         ` Gerd Hoffmann
2012-12-04 14:42     ` Gabriel L. Somlo
2012-12-04 15:11       ` jbaron
2012-12-04 15:39         ` Gabriel L. Somlo
2012-12-04 16:56           ` Gerd Hoffmann [this message]
2012-12-04 17:14             ` Gabriel L. Somlo
2012-12-05  6:50               ` Gerd Hoffmann
2012-12-05 14:49                 ` Gabriel L. Somlo

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=50BE2B57.10501@redhat.com \
    --to=kraxel@redhat.com \
    --cc=agraf@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=gsomlo@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=jbaron@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rene@exactcode.com \
    /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).