mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Add an inline to call eieio.
("Enforce In-order Execution of I/O". I am not making this up.)
This commit is contained in:
parent
bfcf2ca287
commit
71cf3a3574
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99043
@ -101,6 +101,13 @@ mfdec(void)
|
||||
return (value);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
eieio(void)
|
||||
{
|
||||
|
||||
__asm __volatile ("eieio");
|
||||
}
|
||||
|
||||
static __inline void
|
||||
isync(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user