Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
misalignment.c File Reference
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include <asm/smp.h>
#include <asm/pgalloc.h>
#include <asm/cpu-regs.h>
#include <asm/busctl-regs.h>
#include <asm/fpu.h>
#include <asm/gdb-stub.h>
#include <asm/asm-offsets.h>

Go to the source code of this file.

Data Structures

struct  mn10300_opcode
 

Macros

#define kdebug(FMT,...)   do {} while (0)
 
#define AM33   330
 
#define MEM(ADDR)   (0x80000000 | (ADDR))
 
#define MEM2(ADDR1, ADDR2)   (0x80000000 | (ADDR1) << 8 | (ADDR2))
 
#define MEMINC(ADDR)   (0x81000000 | (ADDR))
 
#define MEMINC2(ADDR, INC)   (0x81000000 | (ADDR) << 8 | (INC))
 

Enumerations

enum  format_id {
  FMT_S0, FMT_S1, FMT_S2, FMT_S4,
  FMT_D0, FMT_D1, FMT_D2, FMT_D4,
  FMT_D6, FMT_D7, FMT_D8, FMT_D9,
  FMT_D10
}
 
enum  value_id {
  DM0, DM1, DM2, AM0,
  AM1, AM2, RM0, RM1,
  RM2, RM4, RM6, RD0,
  RD2, SP, SD8, SD16,
  SD24, SIMM4_2, SIMM8, IMM8,
  IMM16, IMM24, IMM32, IMM32_HIGH8,
  IMM32_MEM, IMM32_HIGH8_MEM, DN0 = DM0, DN1 = DM1,
  DN2 = DM2, AN0 = AM0, AN1 = AM1, AN2 = AM2,
  RN0 = RM0, RN1 = RM1, RN2 = RM2, RN4 = RM4,
  RN6 = RM6, DI = DM1, RI = RM2
}
 

Functions

asmlinkage void misalignment (struct pt_regs *regs, enum exception_code code)
 

Macro Definition Documentation

#define AM33   330

Definition at line 161 of file misalignment.c.

#define kdebug (   FMT,
  ... 
)    do {} while (0)

Definition at line 40 of file misalignment.c.

#define MEM (   ADDR)    (0x80000000 | (ADDR))

Definition at line 164 of file misalignment.c.

#define MEM2 (   ADDR1,
  ADDR2 
)    (0x80000000 | (ADDR1) << 8 | (ADDR2))

Definition at line 165 of file misalignment.c.

#define MEMINC (   ADDR)    (0x81000000 | (ADDR))

Definition at line 166 of file misalignment.c.

#define MEMINC2 (   ADDR,
  INC 
)    (0x81000000 | (ADDR) << 8 | (INC))

Definition at line 167 of file misalignment.c.

Enumeration Type Documentation

enum format_id
Enumerator:
FMT_S0 
FMT_S1 
FMT_S2 
FMT_S4 
FMT_D0 
FMT_D1 
FMT_D2 
FMT_D4 
FMT_D6 
FMT_D7 
FMT_D8 
FMT_D9 
FMT_D10 

Definition at line 70 of file misalignment.c.

enum value_id
Enumerator:
DM0 
DM1 
DM2 
AM0 
AM1 
AM2 
RM0 
RM1 
RM2 
RM4 
RM6 
RD0 
RD2 
SP 
SD8 
SD16 
SD24 
SIMM4_2 
SIMM8 
IMM8 
IMM16 
IMM24 
IMM32 
IMM32_HIGH8 
IMM32_MEM 
IMM32_HIGH8_MEM 
DN0 
DN1 
DN2 
AN0 
AN1 
AN2 
RN0 
RN1 
RN2 
RN4 
RN6 
DI 
RI 

Definition at line 104 of file misalignment.c.

Function Documentation

asmlinkage void misalignment ( struct pt_regs regs,
enum exception_code  code 
)

Definition at line 317 of file misalignment.c.

Variable Documentation

u_int8_t dispsz

Definition at line 87 of file misalignment.c.

u_int8_t opsz

Definition at line 87 of file misalignment.c.