MCPcopy Create free account
hub / github.com/coreboot/coreboot / call_wrapper

Function call_wrapper

src/lib/thread.c:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146static asmlinkage void call_wrapper(void *unused)
147{
148 struct thread *current = current_thread();
149 enum cb_err error;
150
151 error = current->entry(current->entry_arg);
152
153 terminate_thread(current, error);
154}
155
156struct block_boot_state {
157 boot_state_t state;

Callers

nothing calls this directly

Calls 2

current_threadFunction · 0.85
terminate_threadFunction · 0.85

Tested by

no test coverage detected