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

Function cloudabi32_proc_setregs

freebsd/i386/cloudabi32/cloudabi32_sysvec.c:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static void
79cloudabi32_proc_setregs(struct thread *td, struct image_params *imgp,
80 uintptr_t stack)
81{
82
83 exec_setregs(td, imgp, stack);
84 (void)cpu_set_user_tls(td, TO_PTR(stack));
85}
86
87static int
88cloudabi32_fetch_syscall_args(struct thread *td)

Callers

nothing calls this directly

Calls 2

exec_setregsFunction · 0.50
cpu_set_user_tlsFunction · 0.50

Tested by

no test coverage detected