Wednesday, June 5, 2013

Freebsd Kernel Modules with asm volatile

Unlike in Linux kernel kernel modules FreeBSD kernel does not support asm volatile ("blah blah");, you have to change the instruction __asm__ ("blash blash"); its two _ not one. Best of luck kernel hackers.