From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxzaj-0007Wd-3f for qemu-devel@nongnu.org; Mon, 29 Aug 2011 07:01:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxzai-00046w-5G for qemu-devel@nongnu.org; Mon, 29 Aug 2011 07:01:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxzah-00046s-U4 for qemu-devel@nongnu.org; Mon, 29 Aug 2011 07:01:20 -0400 Message-ID: <4E5B7168.5070306@redhat.com> Date: Mon, 29 Aug 2011 14:00:56 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4B17C12B.4020300@linux.vnet.ibm.com> <4B17CC5F.20101@redhat.com> <4E59F15E.6000201@redhat.com> <4E5AA849.5090400@web.de> <20110828221437.GA27777@morn.localdomain> <4E5B2450.3050209@redhat.com> <4E5B691C.9050507@siemens.com> In-Reply-To: <4E5B691C.9050507@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] HPET configuration in Seabios List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Andrew Theurer , Gleb Natapov , "kvm@vger.kernel.org list" , seabios , ya su , Alexander Graf , QEMU Developers , Kevin O'Connor On 08/29/2011 01:25 PM, Jan Kiszka wrote: > > > > Can't seabios just poke at the hpet itself and see if it exists or not? > > > > Would be hard for the BIOS to guess the locations of the blocks unless > we define the addresses used by QEMU as something like base + hpet_no * > block_size in all cases. > Currently we have a fixed address. We could do: if available in fw_cfg: use that (may indicate no hpet) elif fixed address works: use that else no hpet -- error compiling committee.c: too many arguments to function