Here <https://github.com/winksaville/sel4-min-sel4/tree/new-libs> is a
different approach for removing the libc dependency, it seemed like people
thought libsel4 was to big and that as part of the effort of breaking the
dependency it should be made smaller. Basically libsel4 does nothing expect
satisfy dependency needed for the kernel for some xml files. And I've
broken libsel4 into basically 8 other libraries. see here
<https://github.com/winksaville/sel4-min-sel4/tree/new-libs/libs>.

This maybe taking things to far, but it does mean people can use only what
they need, which I like. The smallest example is app/min-hw which only uses
libsel4_gen, libsel4_startup. libsel4_bootinfo and libsel4_putchar. At the
other extreme apps/test-newlibs uses everything. Anyway other organizations
are certainly possible.

Currently there is at least one known problem, I modified bitfield_gen.py
so types_gen.h has no asserts since at the moment the kernel uses assert
and userspace is libsel4_assert. We could either do something like I've
done and remove them or change the kernel to use libsel4_assert or
something else.

Anyway, before creating a pull request I'd like to know what people think.

-- Wink
_______________________________________________
Devel mailing list
[email protected]
https://sel4.systems/lists/listinfo/devel

Reply via email to