MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mips_wbflush

Function mips_wbflush

freebsd/mips/include/cpufunc.h:97–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static __inline void
98mips_wbflush(void)
99{
100#if defined(CPU_CNMIPS)
101 __asm __volatile (".set noreorder\n\t"
102 "syncw\n\t"
103 ".set reorder\n"
104 : : : "memory");
105#else
106 __asm __volatile ("sync" : : : "memory");
107 mips_barrier();
108#endif
109}
110
111static __inline void
112breakpoint(void)

Callers 5

writeregFunction · 0.85
readregFunction · 0.85
platform_ipi_sendFunction · 0.85
platform_init_apFunction · 0.85
platform_init_apFunction · 0.85

Calls 1

mips_barrierFunction · 0.85

Tested by

no test coverage detected