Linux Kernel
3.7.1
|
#include <linux/threads.h>
#include <linux/thread_info.h>
#include <asm/page.h>
#include <asm/ptrace.h>
#include <asm/cpu-regs.h>
#include <asm/uaccess.h>
#include <asm/current.h>
Go to the source code of this file.
Data Structures | |
struct | mn10300_cpuinfo |
struct | fpu_state_struct |
struct | thread_struct |
Macros | |
#define | current_text_addr() |
#define | cpu_data &boot_cpu_data |
#define | current_cpu_data boot_cpu_data |
#define | cpu_relax() barrier() |
#define | TASK_SIZE 0x70000000 |
#define | STACK_TOP 0x70000000 |
#define | STACK_TOP_MAX STACK_TOP |
#define | TASK_UNMAPPED_BASE 0x30000000 |
#define | THREAD_USING_FPU 0x00000001 /* T if this task is using the FPU */ |
#define | THREAD_HAS_FPU 0x00000002 /* T if this task owns the FPU right now */ |
#define | INIT_THREAD |
#define | INIT_MMAP |
#define | task_pt_regs(task) ((task)->thread.uregs) |
#define | KSTK_EIP(task) (task_pt_regs(task)->pc) |
#define | KSTK_ESP(task) (task_pt_regs(task)->sp) |
#define | KSTK_TOP(info) |
#define | ARCH_HAS_PREFETCH |
#define | ARCH_HAS_PREFETCHW |
Functions | |
void | get_mem_info (unsigned long *mem_base, unsigned long *mem_size) |
void | show_registers (struct pt_regs *regs) |
void | identify_cpu (struct mn10300_cpuinfo *) |
void | print_cpu_info (struct mn10300_cpuinfo *) |
void | dodgy_tsc (void) |
void | release_thread (struct task_struct *) |
unsigned long | thread_saved_pc (struct task_struct *tsk) |
unsigned long | get_wchan (struct task_struct *p) |
Variables | |
struct mn10300_cpuinfo | boot_cpu_data |
#define ARCH_HAS_PREFETCH |
Definition at line 151 of file processor.h.
#define ARCH_HAS_PREFETCHW |
Definition at line 152 of file processor.h.
#define cpu_data &boot_cpu_data |
Definition at line 64 of file processor.h.
Definition at line 71 of file processor.h.
#define current_cpu_data boot_cpu_data |
Definition at line 65 of file processor.h.
#define current_text_addr | ( | void | ) |
Definition at line 32 of file processor.h.
#define INIT_MMAP |
Definition at line 116 of file processor.h.
#define INIT_THREAD |
Definition at line 107 of file processor.h.
#define KSTK_EIP | ( | task | ) | (task_pt_regs(task)->pc) |
Definition at line 143 of file processor.h.
#define KSTK_ESP | ( | task | ) | (task_pt_regs(task)->sp) |
Definition at line 144 of file processor.h.
#define KSTK_TOP | ( | info | ) |
Definition at line 146 of file processor.h.
#define STACK_TOP 0x70000000 |
Definition at line 81 of file processor.h.
#define STACK_TOP_MAX STACK_TOP |
Definition at line 82 of file processor.h.
Definition at line 142 of file processor.h.
#define TASK_SIZE 0x70000000 |
Definition at line 76 of file processor.h.
#define TASK_UNMAPPED_BASE 0x30000000 |
Definition at line 87 of file processor.h.
#define THREAD_HAS_FPU 0x00000002 /* T if this task owns the FPU right now */ |
Definition at line 103 of file processor.h.
#define THREAD_USING_FPU 0x00000001 /* T if this task is using the FPU */ |
Definition at line 102 of file processor.h.
Definition at line 83 of file proc-init.c.
unsigned long get_wchan | ( | struct task_struct * | p | ) |
void identify_cpu | ( | struct mn10300_cpuinfo * | ) |
void print_cpu_info | ( | struct mn10300_cpuinfo * | ) |
void release_thread | ( | struct task_struct * | ) |
unsigned long thread_saved_pc | ( | struct task_struct * | tsk | ) |
struct mn10300_cpuinfo boot_cpu_data |