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

Function is_fpu_kern_thread

freebsd/arm64/arm64/vfp.c:374–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374int
375is_fpu_kern_thread(u_int flags)
376{
377 struct pcb *curpcb;
378
379 if ((curthread->td_pflags & TDP_KTHREAD) == 0)
380 return (0);
381 curpcb = curthread->td_pcb;
382 return ((curpcb->pcb_fpflags & PCB_FP_KERN) != 0);
383}
384#endif

Callers 2

fpu_kern_enterFunction · 0.70
fpu_kern_leaveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected