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

Function is_fpu_kern_thread

freebsd/amd64/amd64/fpu.c:1262–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1260}
1261
1262int
1263is_fpu_kern_thread(u_int flags)
1264{
1265
1266 if ((curthread->td_pflags & TDP_KTHREAD) == 0)
1267 return (0);
1268 return ((curpcb->pcb_flags & PCB_KERNFPU_THR) != 0);
1269}
1270
1271/*
1272 * FPU save area alloc/free/init utility routines

Callers 2

fpu_kern_enterFunction · 0.70
fpu_kern_leaveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected