Xenomai  3.0.8
machine.h
1 
19 #ifndef _COBALT_X86_ASM_MACHINE_H
20 #define _COBALT_X86_ASM_MACHINE_H
21 
22 #include <linux/compiler.h>
23 
24 static inline __attribute_const__ unsigned long ffnz(unsigned long ul)
25 {
26 #ifdef __i386__
27  __asm__("bsfl %1, %0":"=r,r" (ul) : "r,?m" (ul));
28 #else
29  __asm__("bsfq %1, %0":"=r" (ul) : "rm" (ul));
30 #endif
31  return ul;
32 }
33 
34 #define XNARCH_HOST_TICK_IRQ __ipipe_hrtimer_irq
35 
36 long strncpy_from_user_nocheck(char *dst,
37  const char __user *src,
38  long count);
39 
40 /* Read this last to enable default settings. */
41 #include <asm-generic/xenomai/machine.h>
42 
43 #endif /* !_COBALT_X86_ASM_MACHINE_H */