qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Solaris host patch for QEMU


From: Christopher Nehren
Subject: Re: [Qemu-devel] Solaris host patch for QEMU
Date: Sat, 12 Jun 2004 03:23:23 -0400
User-agent: Mutt/1.5.6i

On Sat, Jun 12, 2004 at 01:38:46 EDT, Markus Niemistö 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 = ((uint64_t)itv.it_interval.tv_usec
> >              * PIT_FREQ) / 1000000;
> >          }
> > +#else
> > +
> > +   pit_min_timer_count = ((uint64_t)itv.it_interval.tv_usec *
> > PIT_FREQ) / 1000000;
> > +#endif // ! _SOLARIS
> 
> 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. =)

-- 
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.

Attachment: pgpMQ46TR1KFP.pgp
Description: PGP signature


reply via email to

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