How to enable floating-point operations in XNThread
dear all,I understand that when developing Linux kernel modules on ARM platforms, if floating-point operations are involved, it's necessary to call kernel_neon_begin()/kernel_neon_end(). Additionally, when creating an xnthread, the XNFPU flag needs to be set. However, I'm unclear about how to perform floating-point operations specifically within real-time threads。please help me, thanks.
Quoted 3 lines · Suntao
dear all,I understand that when developing Linux kernel modules on ARM platforms, if floating-point operations are involved, it's necessary to call kernel_neon_begin()/kernel_neon_end(). Additionally, when creating an xnthread, the XNFPU flag needs to be set. However, I'm unclear about how to perform floating-point operations specifically within real-time threads。please help me, thanks.
Please see [1] for the topic of in-kernel FPU support.
Jan
[1] https://lore.kernel.org/xenomai/[email protected]/
Signature · 2 lines
Siemens AG, Foundational Technologies Linux Expert Center