mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[host] add store fence to shm writes as we are using writecombine
This commit is contained in:
parent
e09d7f0ad0
commit
59fa025292
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ bool Service::Process()
|
||||||
// update the flags
|
// update the flags
|
||||||
INTERLOCKED_AND8((volatile char *)flags, KVMFR_HEADER_FLAG_RESTART);
|
INTERLOCKED_AND8((volatile char *)flags, KVMFR_HEADER_FLAG_RESTART);
|
||||||
INTERLOCKED_OR8 ((volatile char *)flags, updateFlags);
|
INTERLOCKED_OR8 ((volatile char *)flags, updateFlags);
|
||||||
|
_mm_sfence();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
Loading…
Reference in a new issue