Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
unaligned_64.c File Reference
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <asm/asi.h>
#include <asm/ptrace.h>
#include <asm/pstate.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <linux/smp.h>
#include <linux/bitops.h>
#include <linux/perf_event.h>
#include <linux/ratelimit.h>
#include <asm/fpumacro.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Enumerations

enum  direction {
  load, store, both, fpload,
  fpstore, invalid, load, store,
  both, fpld, fpst, invalid
}
 

Functions

unsigned long compute_effective_address (struct pt_regs *regs, unsigned int insn, unsigned int rd)
 
int do_int_load (unsigned long *dest_reg, int size, unsigned long *saddr, int is_signed, int asi)
 
int __do_int_store (unsigned long *dst_addr, int size, unsigned long src_val, int asi)
 
asmlinkage void kernel_unaligned_trap (struct pt_regs *regs, unsigned int insn)
 
int handle_popc (u32 insn, struct pt_regs *regs)
 
void do_fpother (struct pt_regs *regs)
 
void do_privact (struct pt_regs *regs)
 
void spitfire_data_access_exception (struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
 
void sun4v_data_access_exception (struct pt_regs *regs, unsigned long addr, unsigned long type_ctx)
 
int handle_ldf_stq (u32 insn, struct pt_regs *regs)
 
void handle_ld_nf (u32 insn, struct pt_regs *regs)
 
void handle_lddfmna (struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
 
void handle_stdfmna (struct pt_regs *regs, unsigned long sfar, unsigned long sfsr)
 

Enumeration Type Documentation

enum direction
Enumerator:
load 
store 
both 
fpload 
fpstore 
invalid 
load 
store 
both 
fpld 
fpst 
invalid 

Definition at line 27 of file unaligned_64.c.

Function Documentation

int __do_int_store ( unsigned long dst_addr,
int  size,
unsigned long  src_val,
int  asi 
)
unsigned long compute_effective_address ( struct pt_regs regs,
unsigned int  insn,
unsigned int  rd 
)

Definition at line 163 of file unaligned_64.c.

void do_fpother ( struct pt_regs regs)

Definition at line 2200 of file traps_64.c.

int do_int_load ( unsigned long dest_reg,
int  size,
unsigned long saddr,
int  is_signed,
int  asi 
)
void do_privact ( struct pt_regs regs)

Definition at line 2532 of file traps_64.c.

void handle_ld_nf ( u32  insn,
struct pt_regs regs 
)

Definition at line 553 of file unaligned_64.c.

void handle_lddfmna ( struct pt_regs regs,
unsigned long  sfar,
unsigned long  sfsr 
)

Definition at line 579 of file unaligned_64.c.

int handle_ldf_stq ( u32  insn,
struct pt_regs regs 
)

Definition at line 428 of file unaligned_64.c.

int handle_popc ( u32  insn,
struct pt_regs regs 
)

Definition at line 384 of file unaligned_64.c.

void handle_stdfmna ( struct pt_regs regs,
unsigned long  sfar,
unsigned long  sfsr 
)

Definition at line 640 of file unaligned_64.c.

asmlinkage void kernel_unaligned_trap ( struct pt_regs regs,
unsigned int  insn 
)

Definition at line 294 of file unaligned_64.c.

void spitfire_data_access_exception ( struct pt_regs regs,
unsigned long  sfsr,
unsigned long  sfar 
)

Definition at line 261 of file traps_64.c.

void sun4v_data_access_exception ( struct pt_regs regs,
unsigned long  addr,
unsigned long  type_ctx 
)

Definition at line 309 of file traps_64.c.