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

Function set_intr_mask

freebsd/mips/include/cpufunc.h:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356static __inline uint32_t
357set_intr_mask(uint32_t mask)
358{
359 uint32_t ostatus;
360
361 ostatus = mips_rd_status();
362 mask = (ostatus & ~MIPS_SR_INT_MASK) | (mask & MIPS_SR_INT_MASK);
363 mips_wr_status(mask);
364 return (ostatus);
365}
366
367static __inline uint32_t
368get_intr_mask(void)

Callers 6

platform_init_apFunction · 0.85
trapFunction · 0.85
mips_vector_initFunction · 0.85
platform_init_apFunction · 0.85
platform_init_apFunction · 0.85
platform_init_apFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected