Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

softfloat in the kernel #14

Open
krytarowski opened this issue Dec 9, 2019 · 0 comments
Open

softfloat in the kernel #14

krytarowski opened this issue Dec 9, 2019 · 0 comments

Comments

@krytarowski
Copy link

I ported the berkeley-softfloat-3 library to run in the NetBSD kernel.

The only difference is that we need to include different headers than the userspace ones.

I intend to merge this into the NetBSD distribution, but would you accept the patch to make berkeley-softloat-3 buildable in such environment out of the box upstream?

Another approach would be to rely on GCC/Clang defines and redefine all the *int* types from the builtin types, such as __INT_FAST64_TYPE__. It would make berkeley-softfloat-3 fully standalone.

I prefer to avoid downstream patches if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant