Linux Kernel
3.7.1
|
#include <linux/threads.h>
#include <asm/prefetch.h>
#include <asm/hardware.h>
#include <asm/pdc.h>
#include <asm/ptrace.h>
#include <asm/types.h>
#include <asm/percpu.h>
Go to the source code of this file.
Data Structures | |
struct | system_cpuinfo_parisc |
struct | cpuinfo_parisc |
struct | mm_segment_t |
struct | thread_struct |
Macros | |
#define | KERNEL_STACK_SIZE (4*PAGE_SIZE) |
#define | current_ia(x) __asm__("blr 0,%0\n\tnop" : "=r"(x)) |
#define | current_text_addr() ({ void *pc; current_ia(pc); pc; }) |
#define | TASK_SIZE_OF(tsk) ((tsk)->thread.task_size) |
#define | TASK_SIZE TASK_SIZE_OF(current) |
#define | TASK_UNMAPPED_BASE (current->thread.map_base) |
#define | DEFAULT_TASK_SIZE32 (0xFFF00000UL) |
#define | DEFAULT_MAP_BASE32 (0x40000000UL) |
#define | DEFAULT_TASK_SIZE DEFAULT_TASK_SIZE32 |
#define | DEFAULT_MAP_BASE DEFAULT_MAP_BASE32 |
#define | CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF) |
#define | ARCH_MIN_TASKALIGN 8 |
#define | task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs)) |
#define | PARISC_UAC_NOPRINT (1UL << 0) /* see prctl and unaligned.c */ |
#define | PARISC_UAC_SIGBUS (1UL << 1) |
#define | PARISC_KERNEL_DEATH (1UL << 31) /* see die_if_kernel()... */ |
#define | PARISC_UAC_SHIFT 0 |
#define | PARISC_UAC_MASK (PARISC_UAC_NOPRINT|PARISC_UAC_SIGBUS) |
#define | SET_UNALIGN_CTL(task, value) |
#define | GET_UNALIGN_CTL(task, addr) |
#define | INIT_THREAD |
#define | start_thread_som(regs, new_pc, new_sp) |
#define | USER_WIDE_MODE 0 |
#define | start_thread(regs, new_pc, new_sp) |
#define | KSTK_EIP(tsk) ((tsk)->thread.regs.iaoq[0]) |
#define | KSTK_ESP(tsk) ((tsk)->thread.regs.gr[30]) |
#define | cpu_relax() barrier() |
Typedefs | |
typedef unsigned int | elf_caddr_t |
Functions | |
DECLARE_PER_CPU (struct cpuinfo_parisc, cpu_data) | |
unsigned long | thread_saved_pc (struct task_struct *t) |
void | show_trace (struct task_struct *task, unsigned long *stack) |
void | release_thread (struct task_struct *) |
int | kernel_thread (int(*fn)(void *), void *arg, unsigned long flags) |
void | map_hpux_gateway_page (struct task_struct *tsk, struct mm_struct *mm) |
unsigned long | get_wchan (struct task_struct *p) |
Variables | |
struct system_cpuinfo_parisc | __attribute__ |
struct system_cpuinfo_parisc | boot_cpu_data |
#define ARCH_MIN_TASKALIGN 8 |
Definition at line 121 of file processor.h.
#define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF) |
Definition at line 115 of file processor.h.
Definition at line 338 of file processor.h.
Definition at line 32 of file processor.h.
Definition at line 34 of file processor.h.
#define DEFAULT_MAP_BASE DEFAULT_MAP_BASE32 |
Definition at line 48 of file processor.h.
#define DEFAULT_MAP_BASE32 (0x40000000UL) |
Definition at line 41 of file processor.h.
#define DEFAULT_TASK_SIZE DEFAULT_TASK_SIZE32 |
Definition at line 47 of file processor.h.
#define DEFAULT_TASK_SIZE32 (0xFFF00000UL) |
Definition at line 40 of file processor.h.
Definition at line 148 of file processor.h.
#define INIT_THREAD |
Definition at line 154 of file processor.h.
#define KERNEL_STACK_SIZE (4*PAGE_SIZE) |
Definition at line 23 of file processor.h.
#define KSTK_EIP | ( | tsk | ) | ((tsk)->thread.regs.iaoq[0]) |
Definition at line 335 of file processor.h.
#define KSTK_ESP | ( | tsk | ) | ((tsk)->thread.regs.gr[30]) |
Definition at line 336 of file processor.h.
#define PARISC_KERNEL_DEATH (1UL << 31) /* see die_if_kernel()... */ |
Definition at line 135 of file processor.h.
#define PARISC_UAC_MASK (PARISC_UAC_NOPRINT|PARISC_UAC_SIGBUS) |
Definition at line 138 of file processor.h.
#define PARISC_UAC_NOPRINT (1UL << 0) /* see prctl and unaligned.c */ |
Definition at line 133 of file processor.h.
#define PARISC_UAC_SHIFT 0 |
Definition at line 137 of file processor.h.
#define PARISC_UAC_SIGBUS (1UL << 1) |
Definition at line 134 of file processor.h.
Definition at line 140 of file processor.h.
#define start_thread | ( | regs, | |
new_pc, | |||
new_sp | |||
) |
Definition at line 295 of file processor.h.
#define start_thread_som | ( | regs, | |
new_pc, | |||
new_sp | |||
) |
Definition at line 192 of file processor.h.
#define task_pt_regs | ( | tsk | ) | ((struct pt_regs *)&((tsk)->thread.regs)) |
Definition at line 130 of file processor.h.
#define TASK_SIZE TASK_SIZE_OF(current) |
Definition at line 37 of file processor.h.
#define TASK_SIZE_OF | ( | tsk | ) | ((tsk)->thread.task_size) |
Definition at line 36 of file processor.h.
#define TASK_UNMAPPED_BASE (current->thread.map_base) |
Definition at line 38 of file processor.h.
#define USER_WIDE_MODE 0 |
Definition at line 292 of file processor.h.
typedef unsigned int elf_caddr_t |
Definition at line 190 of file processor.h.
DECLARE_PER_CPU | ( | struct cpuinfo_parisc | , |
cpu_data | |||
) |
unsigned long get_wchan | ( | struct task_struct * | p | ) |
void map_hpux_gateway_page | ( | struct task_struct * | tsk, |
struct mm_struct * | mm | ||
) |
void release_thread | ( | struct task_struct * | ) |
void show_trace | ( | struct task_struct * | task, |
unsigned long * | stack | ||
) |
unsigned long thread_saved_pc | ( | struct task_struct * | t | ) |
struct system_cpuinfo_parisc boot_cpu_data |