compiling parts of kernel in userland

K. Macy kmacy at freebsd.org
Thu Jun 11 06:48:09 UTC 2015


I started work on something I called libukern which allows you to run
essentially all non platform code in user adding a PCI passthrough driver
so one can run unmodified drivers in user. Libuinet is great as far as it
goes, but it's just the network stack. If you want something other than
just networking you'll have to do something else.

-K
On Jun 10, 2015 10:13 PM, "Adrian Chadd" <adrian at freebsd.org> wrote:

> Hi,
>
> please look at libuinet. I'd really like the libuinet framework to be
> in freebsd-head so we can build various forms of the freebsd kernel as
> userland support code.
>
>
> -a
>
>
> On 10 June 2015 at 15:46, John-Mark Gurney <jmg at funkthat.com> wrote:
> > I'm not the only one doing this (libzpool does this w/ zfs_context.h),
> > but what do we need to do to make it easier/more standard to be able
> > to compile kernel code into a userland program for testing and other
> > purposes.
> >
> > I know I'm now the only one to do it, but I can't seem to find any
> > docs on how people are doing this, and exactly what issues people have
> > run into when doing this.
> >
> > My goal is to have documentation and integrated necessary code into
> > FreeBSD to make this as simple as possible.  My main goal is to make
> > it easier to compile kernel code into userland test harnesses.
> >
> > Thanks.
> >
> > --
> >   John-Mark Gurney                              Voice: +1 415 225 5579
> >
> >      "All that I will do, has been done, All that I have, has not."
> > _______________________________________________
> > freebsd-arch at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> > To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
>


More information about the freebsd-arch mailing list