blob: a8177d24ac74a0db55b2603c327e4eaf35026ad8 [file] [log] [blame]
#include <intrin.h>
/* for x86 only */
void __writefsword(unsigned long Offset, unsigned short Data)
{
__asm__ volatile ("movw %0,%%fs:%1"
: "=r" (Data) ,"=m" ((*(volatile long *) Offset)));
}