Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZ2se-00067o-9o for qemu-devel@nongnu.org; Sat, 12 Jun 2004 03:24:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZ2sc-00066z-DM for qemu-devel@nongnu.org; Sat, 12 Jun 2004 03:24:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZ2sb-00066a-Oh for qemu-devel@nongnu.org; Sat, 12 Jun 2004 03:24:41 -0400 Received: from [204.127.202.64] (helo=sccrmhc13.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZ2rP-0003ZI-9A for qemu-devel@nongnu.org; Sat, 12 Jun 2004 03:23:27 -0400 Date: Sat, 12 Jun 2004 03:23:23 -0400 From: Christopher Nehren Subject: Re: [Qemu-devel] Solaris host patch for QEMU Message-ID: <20040612072323.GA47645@prophecy.dyndns.org> References: <20040612083846.25e39dcd.markus.niemisto@iki.fi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20040612083846.25e39dcd.markus.niemisto@iki.fi> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 12, 2004 at 01:38:46 EDT, Markus Niemist=F6 scribbled these curious markings: > > +#ifndef _SOLARIS > > if (itv.it_interval.tv_usec > 1000) { > > /* try to use /dev/rtc to have a faster timer */ > > if (start_rtc_timer() < 0) > > @@ -885,6 +888,10 @@ > > pit_min_timer_count =3D ((uint64_t)itv.it_interval.tv_usec > > * PIT_FREQ) / 1000000; > > } > > +#else > > + > > + pit_min_timer_count =3D ((uint64_t)itv.it_interval.tv_usec * > > PIT_FREQ) / 1000000; > > +#endif // ! _SOLARIS >=20 > I think it should be #ifndef _BSD. The patch that makes it work on BSD > is not it the tree yet. /me perks. What's this? A patch to make networking function on BSD? :) Please do elucidate this tired wannabe C programmer. =3D) --=20 I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson - Unix is user friendly. However, it isn't idiot friendly. --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAyq9rk/lo7zvzJioRAl2sAKCiixutmpP2NONnqaunduQSwAXLeQCgv3xs EbkBex74JW5EQfFNUPhzxU4= =6uBy -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--