Linux Kernel
3.7.1
|
#include <linux/thread_info.h>
#include <asm/segment.h>
#include <asm/fpu.h>
#include <asm/ptrace.h>
Go to the source code of this file.
Data Structures | |
struct | thread_struct |
Macros | |
#define | current_text_addr() ({ __label__ _l; _l: &&_l;}) |
#define | TASK_SIZE (0xFFFFFFFFUL) |
#define | TASK_UNMAPPED_BASE 0 |
#define | INIT_THREAD |
#define | setframeformat(_regs) do { } while (0) |
#define | start_thread(_regs, _pc, _usp) |
#define | KSTK_EIP(tsk) |
#define | KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) |
#define | task_pt_regs(tsk) ((struct pt_regs *) ((tsk)->thread.esp0)) |
#define | cpu_relax() barrier() |
Functions | |
unsigned long | thread_saved_pc (struct task_struct *tsk) |
unsigned long | get_wchan (struct task_struct *p) |
Definition at line 179 of file processor.h.
#define current_text_addr | ( | void | ) | ({ __label__ _l; _l: &&_l;}) |
Definition at line 14 of file processor.h.
#define INIT_THREAD |
Definition at line 97 of file processor.h.
#define KSTK_EIP | ( | tsk | ) |
Definition at line 168 of file processor.h.
#define KSTK_ESP | ( | tsk | ) | ((tsk) == current ? rdusp() : (tsk)->thread.usp) |
Definition at line 175 of file processor.h.
#define setframeformat | ( | _regs | ) | do { } while (0) |
Definition at line 110 of file processor.h.
#define start_thread | ( | _regs, | |
_pc, | |||
_usp | |||
) |
Definition at line 130 of file processor.h.
Definition at line 177 of file processor.h.
#define TASK_SIZE (0xFFFFFFFFUL) |
Definition at line 59 of file processor.h.
#define TASK_UNMAPPED_BASE 0 |
Definition at line 80 of file processor.h.
unsigned long get_wchan | ( | struct task_struct * | p | ) |
unsigned long thread_saved_pc | ( | struct task_struct * | tsk | ) |