Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [11-2007 Date Index] [Date Next] || [Thread Prev] [11-2007 Thread Index] [Thread Next]

[haiku-development] Re: FreeBSD compatibility layer

  • From: "Hugo Santos" <hugosantos@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 6 Nov 2007 17:38:16 +0100
Also,

  It would be interesting to check if the interrupt handling changed
in FreeBSD 7. In FreeBSD 6.2 an interrupt line was disabled as soon as
it was hit and was online re-enabled when the interrupt handler was
executed (which was handled outside interrupt context). Some drivers,
such as em (ipro1000), support what they call fast interrupts, that
is, having the driver interrupt handling interrupts in real interrupt
context.

  If you remember, this interrupt handling stuff is what prevents us
from having drivers without modifications, as we are forced to disable
the interrupts in the device level (which not always matches very well
the driver logic). I still think some sort of "interrupt queueing"
could be useful in the kernel, and used by the compat. layer to
support drivers without fast-interrupt handling paths, without
modifications.

  Hugo

On Nov 6, 2007 5:33 PM, Hugo Santos <hugosantos@xxxxxxxxx> wrote:
> Hi,
>
>   In what concerns me, go ahead. I picked 6.2 back then because it was
> the available stable version, but it makes perfect sense to upgrade
> it. Some parts of the compat. layer could probably use a rewrite
> anyway. I tried to re-use as much code from FreeBSD as possible, so
> this could be fairly painless in the future, but i'm not sure if my
> wish will come true. Maybe some of the pieces regarding device
> handling, task queues, etc can be re-used?
>
>   Is Giant still around in version 7?
>
>   Hugo
>
>
> On Nov 6, 2007 5:22 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> > Hi there,
> >
> > as some of you might know, our current layer targets FreeBSD 6.2.
> > Unfortunately, that thing is already a bit dated, and drivers for many
> > devices are only available with the upcoming FreeBSD 7 version (they
> > create the RELENG_7 branch for this on November 14, the final version
> > is expected on December 12 - IOW I don't expect any API changes in
> > there anymore).
> >
> > Since many people are nowadays in touch with that layer, I wanted to
> > ask if anyone has already started the migration to support the API
> > changes for FreeBSD 7. At least I would like to start working on it
> > soon, and I don't like to duplicate any efforts while doing so.
> >
> > Bye,
> >    Axel.
> >
> >
> >
>





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.