Linux Kernel
3.7.1
|
#include <asm/ptrace.h>
#include <asm/page.h>
#include <asm/current.h>
Go to the source code of this file.
Data Structures | |
struct | thread_struct |
Macros | |
#define | current_text_addr() |
#define | TASK_SIZE 0xFFFFF000 |
#define | TASK_UNMAPPED_BASE 0 |
#define | INIT_THREAD |
#define | INIT_MMAP |
#define | task_pt_regs(task) ((struct pt_regs *)(THREAD_START_SP + task_stack_page(task)) - 1) |
#define | alloc_kernel_stack() __get_free_page(GFP_KERNEL) |
#define | free_kernel_stack(page) free_page((page)) |
#define | copy_segments(tsk, mm) do { } while (0) |
#define | release_segments(mm) do { } while (0) |
#define | thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) |
#define | thread_saved_ksp(tsk) (*(((unsigned long *)&(tsk)->thread.b15_14) + 1)) |
#define | thread_saved_dp(tsk) (*(unsigned long *)&(tsk)->thread.b15_14) |
#define | KSTK_EIP(task) (task_pt_regs(task)->pc) |
#define | KSTK_ESP(task) (task_pt_regs(task)->sp) |
#define | cpu_relax() do { } while (0) |
#define | HARD_RESET_NOW() |
Functions | |
void | start_thread (struct pt_regs *regs, unsigned int pc, unsigned long usp) |
unsigned long | get_wchan (struct task_struct *p) |
Variables | |
struct seq_operations | cpuinfo_op |
unsigned int | c6x_core_freq |
void(* | c6x_restart )(void) |
void(* | c6x_halt )(void) |
#define alloc_kernel_stack | ( | ) | __get_free_page(GFP_KERNEL) |
Definition at line 80 of file processor.h.
#define copy_segments | ( | tsk, | |
mm | |||
) | do { } while (0) |
Definition at line 95 of file processor.h.
#define cpu_relax | ( | void | ) | do { } while (0) |
Definition at line 123 of file processor.h.
#define current_text_addr | ( | void | ) |
Definition at line 24 of file processor.h.
Definition at line 81 of file processor.h.
#define HARD_RESET_NOW | ( | ) |
Definition at line 128 of file processor.h.
#define INIT_MMAP |
Definition at line 73 of file processor.h.
#define INIT_THREAD |
Definition at line 67 of file processor.h.
#define KSTK_EIP | ( | task | ) | (task_pt_regs(task)->pc) |
Definition at line 120 of file processor.h.
#define KSTK_ESP | ( | task | ) | (task_pt_regs(task)->sp) |
Definition at line 121 of file processor.h.
#define release_segments | ( | mm | ) | do { } while (0) |
Definition at line 96 of file processor.h.
#define task_pt_regs | ( | task | ) | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(task)) - 1) |
Definition at line 77 of file processor.h.
#define TASK_SIZE 0xFFFFF000 |
Definition at line 46 of file processor.h.
#define TASK_UNMAPPED_BASE 0 |
Definition at line 52 of file processor.h.
#define thread_saved_dp | ( | tsk | ) | (*(unsigned long *)&(tsk)->thread.b15_14) |
Definition at line 114 of file processor.h.
#define thread_saved_ksp | ( | tsk | ) | (*(((unsigned long *)&(tsk)->thread.b15_14) + 1)) |
Definition at line 112 of file processor.h.
#define thread_saved_pc | ( | tsk | ) | (task_pt_regs(tsk)->pc) |
Definition at line 101 of file processor.h.
unsigned long get_wchan | ( | struct task_struct * | p | ) |
struct seq_operations cpuinfo_op |