mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
Merge branch 'master' into r0.5
This commit is contained in:
commit
2a5e556e09
@ -58,9 +58,11 @@ loadMemoryBarrier()
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
syncInstructionCache(const void* start UNUSED, unsigned size UNUSED)
|
syncInstructionCache(const void* start, unsigned size)
|
||||||
{
|
{
|
||||||
asm("nop");
|
__clear_cache
|
||||||
|
(const_cast<void*>(start),
|
||||||
|
const_cast<uint8_t*>(static_cast<const uint8_t*>(start) + size));
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef int (__kernel_cmpxchg_t)(int oldval, int newval, int *ptr);
|
typedef int (__kernel_cmpxchg_t)(int oldval, int newval, int *ptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user