mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Always isync after a mtmsr. While perhaps not strictly necessary for PSL_EE
bit banging according to the OEA, it's better to be conservative than having to continually audit uses of this inline.
This commit is contained in:
parent
ebcd28e669
commit
1a6f777efe
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ static __inline void
|
|||
mtmsr(register_t value)
|
||||
{
|
||||
|
||||
__asm __volatile ("mtmsr %0" :: "r"(value));
|
||||
__asm __volatile ("mtmsr %0; isync" :: "r"(value));
|
||||
}
|
||||
|
||||
static __inline register_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue