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

Function stack_save

freebsd/x86/x86/stack_machdep.c:165–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void
166stack_save(struct stack *st)
167{
168 register_t fp;
169
170#ifdef __i386__
171 __asm __volatile("movl %%ebp,%0" : "=g" (fp));
172#else
173 __asm __volatile("movq %%rbp,%0" : "=g" (fp));
174#endif
175 stack_capture(curthread, st, fp);
176}

Callers 1

stack_save_tdFunction · 0.70

Calls 1

stack_captureFunction · 0.70

Tested by

no test coverage detected