|
Linux Kernel
3.7.1
|
#include <linux/types.h>#include <asm/ptrace.h>#include <asm/percpu.h>#include <arch/chip.h>#include <arch/spr_def.h>Go to the source code of this file.
Data Structures | |
| struct | mm_segment_t |
| struct | async_tlb |
| struct | thread_struct |
Functions | |
| void * | current_text_addr (void) |
| DECLARE_PER_CPU (unsigned long, boot_sp) | |
| DECLARE_PER_CPU (unsigned long, boot_pc) | |
| int | kernel_thread (int(*fn)(void *), void *arg, unsigned long flags) |
| int | do_work_pending (struct pt_regs *regs, u32 flags) |
| unsigned long | get_wchan (struct task_struct *p) |
Variables | |
| struct seq_operations | cpuinfo_op |
| char | chip_model [64] |
| int | node_controller [] |
| int | kdata_huge |
| #define ARCH_HAS_PREFETCH |
Definition at line 296 of file processor.h.
| #define CPU_LOG_MASK_VALUE 12 |
Definition at line 347 of file processor.h.
| #define CPU_MASK_VALUE ((1 << CPU_LOG_MASK_VALUE) - 1) |
Definition at line 348 of file processor.h.
| #define EX1_ICS | ( | ex1 | ) | (((ex1) >> SPR_EX_CONTEXT_1_1__ICS_SHIFT) & SPR_EX_CONTEXT_1_1__ICS_RMASK) |
Definition at line 330 of file processor.h.
| #define EX1_PL | ( | ex1 | ) | (((ex1) >> SPR_EX_CONTEXT_1_1__PL_SHIFT) & SPR_EX_CONTEXT_1_1__PL_RMASK) |
Definition at line 328 of file processor.h.
| #define get_current_ksp0 | ( | ) | (__insn_mfspr(SPR_SYSTEM_SAVE_K_0) & ~CPU_MASK_VALUE) |
Definition at line 354 of file processor.h.
| #define hash_default 0 |
Definition at line 287 of file processor.h.
| #define HAVE_ARCH_PICK_MMAP_LAYOUT |
Definition at line 195 of file processor.h.
| #define INIT_THREAD |
Definition at line 197 of file processor.h.
| #define KERNEL_PL CONFIG_KERNEL_PL |
Definition at line 344 of file processor.h.
| #define kstack_hash 0 |
Definition at line 288 of file processor.h.
Definition at line 245 of file processor.h.
Definition at line 246 of file processor.h.
| #define KSTK_PTREGS_GAP 56 |
Definition at line 161 of file processor.h.
| #define KSTK_TOP | ( | task | ) | (task_ksp0(task) - STACK_TOP_DELTA) |
Definition at line 239 of file processor.h.
| #define next_current_ksp0 | ( | task | ) |
Definition at line 356 of file processor.h.
Definition at line 332 of file processor.h.
Definition at line 297 of file processor.h.
Definition at line 304 of file processor.h.
| #define PREFETCH_STRIDE CHIP_L2_LINE_SIZE() |
Definition at line 298 of file processor.h.
| #define raw_smp_processor_id | ( | ) | ((int)__insn_mfspr(SPR_SYSTEM_SAVE_K_0) & CPU_MASK_VALUE) |
Definition at line 352 of file processor.h.
| #define REGFMT "0x%08lx" |
Definition at line 252 of file processor.h.
| #define STACK_TOP VDSO_BASE |
Definition at line 184 of file processor.h.
| #define STACK_TOP_DELTA 8 |
Definition at line 151 of file processor.h.
| #define STACK_TOP_MAX TASK_SIZE_MAX |
Definition at line 187 of file processor.h.
| #define task_ksp0 | ( | task | ) | ((unsigned long)(task)->stack + THREAD_SIZE) |
Definition at line 236 of file processor.h.
| #define task_pc | ( | task | ) | (task_pt_regs(task)->pc) |
Definition at line 243 of file processor.h.
Definition at line 240 of file processor.h.
| #define TASK_SIZE TASK_SIZE_MAX |
Definition at line 178 of file processor.h.
| #define TASK_SIZE_MAX PAGE_OFFSET |
Definition at line 169 of file processor.h.
| #define task_sp | ( | task | ) | (task_pt_regs(task)->sp) |
Definition at line 242 of file processor.h.
| #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) |
Definition at line 193 of file processor.h.
Definition at line 231 of file processor.h.
| #define uheap_hash 0 |
Definition at line 289 of file processor.h.
| #define USER_PL 0 |
Definition at line 340 of file processor.h.
Definition at line 182 of file processor.h.
| DECLARE_PER_CPU | ( | unsigned | long, |
| boot_sp | |||
| ) |
| DECLARE_PER_CPU | ( | unsigned | long, |
| boot_pc | |||
| ) |
| unsigned long get_wchan | ( | struct task_struct * | p | ) |
| char chip_model[64] |
| struct seq_operations cpuinfo_op |
1.8.2