From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfvo2-0001me-Pi for qemu-devel@nongnu.org; Tue, 04 Dec 2012 11:57:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfvnw-00080g-RQ for qemu-devel@nongnu.org; Tue, 04 Dec 2012 11:57:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfvnw-00080I-J5 for qemu-devel@nongnu.org; Tue, 04 Dec 2012 11:57:08 -0500 Message-ID: <50BE2B57.10501@redhat.com> Date: Tue, 04 Dec 2012 17:56:55 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <50BDA8EB.5090402@redhat.com> <20121204144243.GB13356@hedwig.ini.cmu.edu> <20121204151136.GA11468@redhat.com> <20121204153957.GC13356@hedwig.ini.cmu.edu> In-Reply-To: <20121204153957.GC13356@hedwig.ini.cmu.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL for-1.3 0/3] seabios: q35 update List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gabriel L. Somlo" Cc: rene@exactcode.com, jan.kiszka@siemens.com, jbaron@redhat.com, qemu-devel@nongnu.org, agraf@suse.de, anthony@codemonkey.ws 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