|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | thread_struct |
| struct | hexagon_switch_stack |
Macros | |
| #define | current_text_addr() ({ __label__ _l; _l: &&_l; }) |
| #define | INIT_THREAD |
| #define | cpu_relax() __vmyield() |
| #define | TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3)) |
| #define | task_pt_regs(task) ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1) |
| #define | KSTK_EIP(tsk) (pt_elr(task_pt_regs(tsk))) |
| #define | KSTK_ESP(tsk) (pt_psp(task_pt_regs(tsk))) |
Functions | |
| pid_t | kernel_thread (int(*fn)(void *), void *arg, unsigned long flags) |
| unsigned long | thread_saved_pc (struct task_struct *tsk) |
| void | start_thread (struct pt_regs *, unsigned long, unsigned long) |
| void | release_thread (struct task_struct *dead_task) |
| unsigned long | get_wchan (struct task_struct *p) |
Definition at line 59 of file processor.h.
| #define current_text_addr | ( | void | ) | ({ __label__ _l; _l: &&_l; }) |
Definition at line 31 of file processor.h.
| #define INIT_THREAD |
Definition at line 56 of file processor.h.
| #define KSTK_EIP | ( | tsk | ) | (pt_elr(task_pt_regs(tsk))) |
Definition at line 80 of file processor.h.
| #define KSTK_ESP | ( | tsk | ) | (pt_psp(task_pt_regs(tsk))) |
Definition at line 81 of file processor.h.
| #define task_pt_regs | ( | task | ) | ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1) |
Definition at line 77 of file processor.h.
| #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3)) |
Definition at line 74 of file processor.h.
| unsigned long get_wchan | ( | struct task_struct * | p | ) |
| void release_thread | ( | struct task_struct * | dead_task | ) |
| unsigned long thread_saved_pc | ( | struct task_struct * | tsk | ) |
1.8.2