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