This is some test code and tooling to help developing Userland BSD on Linux project.
min.c: minimal x86-64 "Hello-world" program for both Linux and FreeBSD written in C intrinsics.mid.c: equivalent in pure C.Makefile: BSD make makefile to buildmin,mid(mid.cstatically linked) andmax(mid.clinked dinamically) and runsym_extract.pyto generatetarget_os_defs.h.sym_extract.py: tool used to extract only relevant defines and structs from the FreeBSD kernel sources.*.econf: extraction rules