|
Linux Kernel
3.7.1
|
#include <asm/ptrace.h>#include <asm/setup.h>#include <asm/registers.h>#include <asm/entry.h>#include <asm/current.h>Go to the source code of this file.
Data Structures | |
| struct | thread_struct |
Macros | |
| #define | cpu_relax() barrier() |
| #define | cpu_sleep() do {} while (0) |
| #define | task_pt_regs(tsk) (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) |
| #define | TASK_SIZE (0x81000000 - 0x80000000) |
| #define | current_text_addr() ({ __label__ _l; _l: &&_l; }) |
| #define | TASK_UNMAPPED_BASE 0 |
| #define | INIT_THREAD { } |
| #define | KSTK_EIP(tsk) (0) |
| #define | KSTK_ESP(tsk) (0) |
Functions | |
| void | start_thread (struct pt_regs *regs, unsigned long pc, unsigned long usp) |
| void | ret_from_fork (void) |
| unsigned long | thread_saved_pc (struct task_struct *t) |
| unsigned long | get_wchan (struct task_struct *p) |
| int | kernel_thread (int(*fn)(void *), void *arg, unsigned long flags) |
Variables | |
| struct seq_operations | cpuinfo_op |
Definition at line 24 of file processor.h.
| #define cpu_sleep | ( | ) | do {} while (0) |
Definition at line 25 of file processor.h.
| #define current_text_addr | ( | void | ) | ({ __label__ _l; _l: &&_l; }) |
Definition at line 52 of file processor.h.
| #define INIT_THREAD { } |
Definition at line 65 of file processor.h.
| #define KSTK_EIP | ( | tsk | ) | (0) |
Definition at line 86 of file processor.h.
| #define KSTK_ESP | ( | tsk | ) | (0) |
Definition at line 87 of file processor.h.
| #define task_pt_regs | ( | tsk | ) | (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1) |
Definition at line 27 of file processor.h.
| #define TASK_SIZE (0x81000000 - 0x80000000) |
Definition at line 46 of file processor.h.
| #define TASK_UNMAPPED_BASE 0 |
Definition at line 58 of file processor.h.
| unsigned long get_wchan | ( | struct task_struct * | p | ) |
| unsigned long thread_saved_pc | ( | struct task_struct * | t | ) |
| struct seq_operations cpuinfo_op |
1.8.2