MCPcopy Create free account
hub / github.com/devkitPro/libctru / __dmb

Function __dmb

libctru/include/3ds/synchronization.h:40–43  ·  view source on GitHub ↗

Performs a Data Memory Barrier operation.

Source from the content-addressed store, hash-verified

38
39/// Performs a Data Memory Barrier operation.
40static inline void __dmb(void)
41{
42 __asm__ __volatile__("mcr p15, 0, %[val], c7, c10, 5" :: [val] "r" (0) : "memory");
43}
44
45/// Performs an Instruction Synchronization Barrier (officially "flush prefetch buffer") operation.
46static inline void __isb(void)

Callers 13

osGetTimeRefFunction · 0.85
LightLock_LockFunction · 0.85
LightLock_TryLockFunction · 0.85
LightLock_UnlockFunction · 0.85
CondVar_WaitTimeoutFunction · 0.85
CondVar_WakeUpFunction · 0.85
LightEvent_TryResetFunction · 0.85
LightEvent_ClearFunction · 0.85
LightEvent_SignalFunction · 0.85
LightSemaphore_AcquireFunction · 0.85
LightSemaphore_ReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected