Sign in
third-party-mirror
/
mingw-w64
/
0290618ceaeb1087e7f396809c929b79cbc255d0
/
.
/
mingw-w64-crt
/
intrincs
/
writefsdword.c
blob: e31be5dcb502cbbb6133768f74851fd64d33ff3e [
file
] [
log
] [
blame
]
#include
<intrin.h>
/* for x86 only */
void
__writefsdword
(
unsigned
__LONG32
Offset
,
unsigned
__LONG32
Data
)
{
__asm__
volatile
(
"movl %0,%%fs:%1"
:
"=r"
(
Data
)
,
"=m"
((*(
volatile
__LONG32
*)
Offset
)));
}