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

Function intr_disable

freebsd/arm64/include/cpufunc.h:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122static __inline register_t
123intr_disable(void)
124{
125 /* DAIF is a 32-bit register */
126 uint32_t ret;
127
128 __asm __volatile(
129 "mrs %x0, daif \n"
130 "msr daifset, #2 \n"
131 : "=&r" (ret));
132
133 return (ret);
134}
135
136static __inline void
137intr_restore(register_t s)

Callers 6

kcsan_md_disable_intrsFunction · 0.70
pmap_klookupFunction · 0.50
pmap_update_entryFunction · 0.50
pmap_faultFunction · 0.50
cpu_haltFunction · 0.50
spinlock_enterFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected