Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <asm/cache.h>
#include <asm/ptrace.h>
Go to the source code of this file.
Data Structures | |
struct | cpuinfo_m32r |
struct | mm_segment_t |
struct | debug_trap |
struct | thread_struct |
Macros | |
#define | current_text_addr() ({ __label__ _l; _l: &&_l; }) |
#define | cpu_data (&boot_cpu_data) |
#define | current_cpu_data boot_cpu_data |
#define | TASK_SIZE (0x00400000UL) |
#define | TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) |
#define | MAX_TRAPS 10 |
#define | INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack) |
#define | INIT_THREAD |
#define | USERPS_BPSW (M32R_PSW_BSM|M32R_PSW_BIE|M32R_PSW_BPM) |
#define | start_thread(regs, new_pc, new_spu) |
#define | copy_segments(p, mm) do { } while (0) |
#define | release_segments(mm) do { } while (0) |
#define | KSTK_EIP(tsk) ((tsk)->thread.lr) |
#define | KSTK_ESP(tsk) ((tsk)->thread.sp) |
#define | cpu_relax() barrier() |
Functions | |
void | release_thread (struct task_struct *) |
int | kernel_thread (int(*fn)(void *), void *arg, unsigned long flags) |
void | copy_segments (struct task_struct *p, struct mm_struct *mm) |
void | release_segments (struct mm_struct *mm) |
unsigned long | thread_saved_pc (struct task_struct *) |
unsigned long | get_wchan (struct task_struct *p) |
Variables | |
struct cpuinfo_m32r | boot_cpu_data |
#define copy_segments | ( | p, | |
mm | |||
) | do { } while (0) |
Definition at line 133 of file processor.h.
#define cpu_data (&boot_cpu_data) |
Definition at line 50 of file processor.h.
Definition at line 140 of file processor.h.
#define current_cpu_data boot_cpu_data |
Definition at line 51 of file processor.h.
#define current_text_addr | ( | void | ) | ({ __label__ _l; _l: &&_l; }) |
Definition at line 24 of file processor.h.
#define INIT_SP (sizeof(init_stack) + (unsigned long) &init_stack) |
Definition at line 94 of file processor.h.
#define INIT_THREAD |
Definition at line 96 of file processor.h.
#define KSTK_EIP | ( | tsk | ) | ((tsk)->thread.lr) |
Definition at line 137 of file processor.h.
#define KSTK_ESP | ( | tsk | ) | ((tsk)->thread.sp) |
Definition at line 138 of file processor.h.
#define MAX_TRAPS 10 |
Definition at line 77 of file processor.h.
#define release_segments | ( | mm | ) | do { } while (0) |
Definition at line 134 of file processor.h.
#define start_thread | ( | regs, | |
new_pc, | |||
new_spu | |||
) |
Definition at line 107 of file processor.h.
#define TASK_SIZE (0x00400000UL) |
Definition at line 60 of file processor.h.
#define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) |
Definition at line 71 of file processor.h.
#define USERPS_BPSW (M32R_PSW_BSM|M32R_PSW_BIE|M32R_PSW_BPM) |
Definition at line 105 of file processor.h.
void copy_segments | ( | struct task_struct * | p, |
struct mm_struct * | mm | ||
) |
unsigned long get_wchan | ( | struct task_struct * | p | ) |
void release_thread | ( | struct task_struct * | ) |
unsigned long thread_saved_pc | ( | struct task_struct * | ) |
struct cpuinfo_m32r boot_cpu_data |