From owner-freebsd-arch@FreeBSD.ORG Thu Jun 11 06:48:09 2015 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B1A646C; Thu, 11 Jun 2015 06:48:09 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pa0-x241.google.com (mail-pa0-x241.google.com [IPv6:2607:f8b0:400e:c03::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B26910E0; Thu, 11 Jun 2015 06:48:09 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by pablj1 with SMTP id lj1so14708045pab.0; Wed, 10 Jun 2015 23:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/D3PGVFx+U29k20wfKNbK+vKuMnQb/BjH4qKUQ09RlE=; b=lgTRX2LtdAc9zjMHFJTxj0uCtEenx6AS9+1DRSghP2poo0rsvMwEp468Hah4RquHBX qZKoVlELn/fZkHRP3qwogMCUkEvUVw1jhga9P+oiQZ7lwqo4C9L2ZN4agDEyqj2YT/oK p6SWBVRtnveF2q+KvFrxJeaN4WJgKZJGiuK4yOpZbVd6Wdz+gJid+DcP2UcAFCwM/qVU l55D/RqDxs4zRvPV0rsVsl4bmvN128X23cDqvs5D7hABZDS3mT6KOnmE7G8HeNr2w+HB sygzPHdHEnjc1PVCedl3fuutYOZB2yBhsh0E1fzETk0EVpwtSrQUa2QrFvMnDKOA4six cErg== MIME-Version: 1.0 X-Received: by 10.66.66.65 with SMTP id d1mr12396064pat.22.1434005288284; Wed, 10 Jun 2015 23:48:08 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.66.236.36 with HTTP; Wed, 10 Jun 2015 23:48:08 -0700 (PDT) Received: by 10.66.236.36 with HTTP; Wed, 10 Jun 2015 23:48:08 -0700 (PDT) In-Reply-To: References: <20150610224654.GM86224@funkthat.com> Date: Wed, 10 Jun 2015 23:48:08 -0700 X-Google-Sender-Auth: JQ9YA0U1jFvuy_jnpka29zYnv1o Message-ID: Subject: Re: compiling parts of kernel in userland From: "K. Macy" To: Adrian Chadd Cc: arch@freebsd.org, John-Mark Gurney Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2015 06:48:09 -0000 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" 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 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >