-
Notifications
You must be signed in to change notification settings - Fork 84
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
Usage in Linux kernel modules #80
Comments
@mloy just curious, what's the use case for that specific module? |
We are doing signal processing in kernel space and use msgpack to transfer structured information. |
In a former solution we had to use json which is a pain to compose in kernel space if floating point numbers are to be expressed. In json you have to convert everything to a string. In msgpack you simply copy the value (after changing into the correct endianness...) |
@mloy interesting! I wrote a CMake file to fetch and build mpack as a static library. here's the contents of
|
Although I will likely not have time to do so, I can imagine an interesting case where the Instead of building a single
with the appropriate dependencies between eachother. Too much extra complexity for too little profit? maybe... However, from my perspective it's an interesting angle becase I'm a system integrator before I'm a developer, and automating builds (especially in the context of OpenEmbedded and Yocto Project) are always handy. |
The problem is in the headers included by mpack-platform.h. You can have a config for disable or enable features but I need a switch for kernel/user space headers. |
Which headers does MPack use that are not available in Linux kernel space? I'd love to add a configuration option or some sort of auto-detection to remove the dependency on headers that aren't available in the kernel (would |
Building in the Linux kernel is now supported. There is a new The sample |
Hi,
we are using this nice library within Linux kernel modules. Since we only need the writer, a colleague took only the necessary code and changed/removed stuff to make it compile.
This works but is of course not that nice. I haven't found any clean way of configuring the project accordingly.
Did I miss something?
best regards,
Matthias
The text was updated successfully, but these errors were encountered: