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

Function fill_fpregs

freebsd/amd64/amd64/machdep.c:2243–2253  ·  view source on GitHub ↗

externalize from td->pcb */

Source from the content-addressed store, hash-verified

2241
2242/* externalize from td->pcb */
2243int
2244fill_fpregs(struct thread *td, struct fpreg *fpregs)
2245{
2246
2247 KASSERT(td == curthread || TD_IS_SUSPENDED(td) ||
2248 P_SHOULDSTOP(td->td_proc),
2249 ("not suspended thread %p", td));
2250 fpugetregs(td);
2251 fill_fpregs_xmm(get_pcb_user_save_td(td), fpregs);
2252 return (0);
2253}
2254
2255/* internalize to td->pcb */
2256int

Callers

nothing calls this directly

Calls 3

fpugetregsFunction · 0.85
fill_fpregs_xmmFunction · 0.85
get_pcb_user_save_tdFunction · 0.70

Tested by

no test coverage detected