qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update
Date: Tue, 04 Dec 2012 17:56:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121116 Thunderbird/10.0.11

  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 via email to

[Prev in Thread] Current Thread [Next in Thread]