Go to the documentation of this file.
6 #ifndef __UM_PROCESSOR_GENERIC_H
7 #define __UM_PROCESSOR_GENERIC_H
13 #include <asm/ptrace.h>
14 #include <registers.h>
17 #include <linux/prefetch.h>
56 .arch = INIT_ARCH_THREAD, \
66 static inline void mm_copy_segments(
struct mm_struct *from_mm,
71 #define init_stack (init_thread_union.stack)
78 #define TASK_SIZE (task_size)
85 #define STACK_ROOM (stacksizelim)
86 #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
87 #define STACK_TOP_MAX STACK_TOP
92 #define TASK_UNMAPPED_BASE (0x40000000)
104 #define my_cpu_data cpu_data[smp_processor_id()]
108 #define current_cpu_data cpu_data[smp_processor_id()]
110 #define cpu_data (&boot_cpu_data)
111 #define current_cpu_data boot_cpu_data
115 #define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)