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

2017-06-05 Thread Hans Petter Selasky
Hi Mark, Mandriva was a really god hint. Let's see how it goes: https://issues.openmandriva.org/show_bug.cgi?id=2176 --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

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

2017-06-04 Thread Mark Millard
Hans Petter Selasky hps at selasky.org write on Sun Jun 4 16:09:25 UTC 2017: > I recently found a > piece of code in a header file, which works with GCC and causes a > panic() when compiled with clang. I reported it to one of the Linux > kernel team members and they didn't care about it. Even i

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

2017-06-04 Thread Julian Elischer
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: which includes the header file: Then looking at that file: You

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

2017-06-04 Thread blubee blubeeme
@Hans I've noticed these things about Linux. A lot of stuff relies on knowing the internals of the data structures instead of working with the API but I don't want to start all that stuff up. The goal is to lift up FreeBSD w/o tearing down Linux and as u know needing to be glued to the Linux data

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

2017-06-04 Thread Hans Petter Selasky
Hi Owen, The most comprehensive open-source wrappers for Linux kernel APIs in the FreeBSD kernel is found at: https://github.com/FreeBSDDesktop/freebsd-base-graphics/tree/drm-next/sys/compat/linuxkpi The most comprehensive open-source wrappers for Linux kernel APIs in FreeBSD user-space is f

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

2017-06-04 Thread blubee blubeeme
Hi Julian My goals are to port the Linux graphics stack over to FreeBSD w/o relying too heavily on the linuxkpi stuff. That's cool for a lot of use cases but it just seems a bit too brittle. It is a very large I understand the task will not be easy but I am willing to do the work, even from scrat

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

2017-06-04 Thread blubee blubeeme
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: which includes the header file: Then looking at that file: I'll be doing a lot of work trying to find these