Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
processor-generic.h File Reference
#include <asm/ptrace.h>
#include <registers.h>
#include <sysdep/archsetjmp.h>
#include <linux/prefetch.h>

Go to the source code of this file.

Data Structures

struct  thread_struct
 
struct  cpuinfo_um
 

Macros

#define INIT_THREAD
 
#define init_stack   (init_thread_union.stack)
 
#define TASK_SIZE   (task_size)
 
#define STACK_ROOM   (stacksizelim)
 
#define STACK_TOP   (TASK_SIZE - 2 * PAGE_SIZE)
 
#define STACK_TOP_MAX   STACK_TOP
 
#define TASK_UNMAPPED_BASE   (0x40000000)
 
#define my_cpu_data   cpu_data[smp_processor_id()]
 
#define cpu_data   (&boot_cpu_data)
 
#define current_cpu_data   boot_cpu_data
 
#define KSTK_REG(tsk, reg)   get_thread_reg(reg, &tsk->thread.switch_buf)
 

Functions

unsigned long thread_saved_pc (struct task_struct *t)
 
void start_thread (struct pt_regs *regs, unsigned long entry, unsigned long stack)
 
unsigned long get_wchan (struct task_struct *p)
 

Variables

unsigned long task_size
 
unsigned long stacksizelim
 
struct cpuinfo_um boot_cpu_data
 

Macro Definition Documentation

#define cpu_data   (&boot_cpu_data)

Definition at line 110 of file processor-generic.h.

#define current_cpu_data   boot_cpu_data

Definition at line 111 of file processor-generic.h.

#define init_stack   (init_thread_union.stack)

Definition at line 71 of file processor-generic.h.

#define INIT_THREAD
Value:
{ \
.regs = EMPTY_REGS, \
.fault_addr = NULL, \
.prev_sched = NULL, \
.temp_stack = 0, \
.arch = INIT_ARCH_THREAD, \
.request = { 0 } \
}

Definition at line 50 of file processor-generic.h.

#define KSTK_REG (   tsk,
  reg 
)    get_thread_reg(reg, &tsk->thread.switch_buf)

Definition at line 115 of file processor-generic.h.

#define my_cpu_data   cpu_data[smp_processor_id()]

Definition at line 104 of file processor-generic.h.

#define STACK_ROOM   (stacksizelim)

Definition at line 85 of file processor-generic.h.

#define STACK_TOP   (TASK_SIZE - 2 * PAGE_SIZE)

Definition at line 86 of file processor-generic.h.

#define STACK_TOP_MAX   STACK_TOP

Definition at line 87 of file processor-generic.h.

#define TASK_SIZE   (task_size)

Definition at line 78 of file processor-generic.h.

#define TASK_UNMAPPED_BASE   (0x40000000)

Definition at line 92 of file processor-generic.h.

Function Documentation

unsigned long get_wchan ( struct task_struct p)

Definition at line 419 of file process.c.

void start_thread ( struct pt_regs regs,
unsigned long  entry,
unsigned long  stack 
)

Definition at line 204 of file process.c.

unsigned long thread_saved_pc ( struct task_struct t)

Definition at line 404 of file process.c.

Variable Documentation

struct cpuinfo_um boot_cpu_data

Definition at line 38 of file setup.c.

unsigned long stacksizelim
unsigned long task_size

Definition at line 251 of file um_arch.c.