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

Function platform_ipi_send

freebsd/mips/malta/malta_mp.c:151–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void
152platform_ipi_send(int cpuid)
153{
154 uint32_t reg;
155
156 set_thread_context(cpuid);
157
158 /* Set cause */
159 reg = mftc0(13, 0);
160 reg |= (C_SW1);
161 mttc0(13, 0, reg);
162}
163
164void
165platform_ipi_clear(void)

Callers 1

ipi_sendFunction · 0.50

Calls 1

set_thread_contextFunction · 0.85

Tested by

no test coverage detected