/usr/include/xenomai/asm-nios2/fptest.h is in libxenomai-dev 2.6.4+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #ifndef _XENO_ASM_NIOS2_FPTEST_H
#define _XENO_ASM_NIOS2_FPTEST_H
#ifdef __KERNEL__
#include <linux/module.h>
static inline int fp_kernel_supported(void)
{
return 0;
}
static inline int fp_linux_begin(void)
{
return -ENOSYS;
}
static inline void fp_linux_end(void)
{
}
#else /* !__KERNEL__ */
#include <stdio.h>
#define printk printf
#endif /* !__KERNEL__ */
static inline void fp_features_init(void)
{
}
static inline void fp_regs_set(unsigned val)
{
}
static inline unsigned fp_regs_check(unsigned val)
{
return val;
}
#endif /* _XENO_ASM_NIOS2_FPTEST_H */
|