[Help] Linux low level data structures < - > FreeBSD low level data structures

Julian Elischer julian at elischer.org
Sun Jun 4 13:26:50 UTC 2017

On 4/6/17 7:07 pm, blubee blubeeme wrote:
> Hello
> Is there anyone on either of these lists that have experience with both
> linux low level data structures and their equivalents on FreeBSD?
> For instance the linux header file:
> <linux/agp_backend.h>
> which includes the header file:
> <linux/list.h>
> Then looking at that file:
> <linux/types.h>
> <linux/stddef.h>
> <linux/poison.h>
> <linux/const.h>
> <linux/kernel.h>

You are going to have to be a lot more specific about this.
I have worked in several places where they use s shim layer to make 
Linux basic services work on freeBSD.
usually  a mix of functions, macros and inlines.
However you need to narrow down your questions a bit as the POSSIBLE 
scope of your question is too large for anyone to attempt an answer.

Remember that both systems are POSIX inspired so outside the kernel 
there are many more simlarities than one might be led to expect,
  but you need to be way more specific.
It's even possible to write kernel code to run on both, but it is 
usually domain specific.

> I'll be doing a lot of work trying to find these FreeBSD equivalent of
> these types of files to port some code.
> Does anyone here have experience with something like this? Is there any
> other projects that maps these low level data structures from
> Linux <-> FreeBSD, etc?
> Best,
> Owen
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

More information about the freebsd-ports mailing list