coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
thread.c File Reference
#include <thread.h>
Include dependency graph for thread.c:

Go to the source code of this file.

Data Structures

struct  pushad_regs
 

Functions

static uintptr_t push_stack (uintptr_t cur_stack, uintptr_t value)
 
void arch_prepare_thread (struct thread *t, asmlinkage void(*thread_entry)(void *), void *arg)
 

Function Documentation

◆ arch_prepare_thread()

void arch_prepare_thread ( struct thread *  t,
asmlinkage void(*)(void *)  thread_entry,
void arg 
)

Definition at line 31 of file thread.c.

References arg, and push_stack().

Referenced by prepare_thread().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ push_stack()

static uintptr_t push_stack ( uintptr_t  cur_stack,
uintptr_t  value 
)
inlinestatic

Definition at line 21 of file thread.c.

References addr, and value.

Referenced by arch_prepare_thread().

Here is the caller graph for this function: