From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37405 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGq5U-00085a-KB for qemu-devel@nongnu.org; Tue, 25 May 2010 05:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGq5T-0006vY-5g for qemu-devel@nongnu.org; Tue, 25 May 2010 05:06:12 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:59465) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGq5S-0006vO-OZ for qemu-devel@nongnu.org; Tue, 25 May 2010 05:06:11 -0400 Message-ID: <4BFB92F7.4010505@web.de> Date: Tue, 25 May 2010 11:05:59 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <201005241732.46988.paul@codesourcery.com> <4BFAAE22.5040900@codemonkey.ws> <201005241811.10219.paul@codesourcery.com> <4BFB8C8E.4070602@redhat.com> In-Reply-To: <4BFB8C8E.4070602@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2D61A63E8385B197DB14308E" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH 0/6] Make hpet a compile time option List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Blue Swirl , qemu-devel@nongnu.org, Paul Brook , Juan Quintela This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2D61A63E8385B197DB14308E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Paolo Bonzini wrote: > On 05/24/2010 07:54 PM, Juan Quintela wrote: >> But for the other call, what do you propose? >> >> My best try was to hide the availability of hpet inside hpet_emul.h >> with: >> >> #ifdef CONFIG_HPET >> uint32_t hpet_in_legacy_mode(void); >> else >> uint32_t hpet_in_legacy_mode(void) { return 0;} >> #endif >=20 > Change this to a global variable rtc_disable_interrupts in > hw/mc146818rtc.c? (You didn't say it would need to be particularly > pretty...). >=20 > Not tested beyond compilation. >=20 > Paolo >=20 Please don't waste your time: http://permalink.gmane.org/gmane.comp.emulators.qemu/71377 Jan --------------enig2D61A63E8385B197DB14308E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkv7kv4ACgkQitSsb3rl5xQLOQCfcFc/2j8HLrapWuzwylFfM21Y taEAoN0bwrbIIfxczva8F6mdRQUz5QAW =ahDK -----END PGP SIGNATURE----- --------------enig2D61A63E8385B197DB14308E--