Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/uaccess.h>
#include <asm/tlbflush.h>
#include <asm/unaligned.h>
#include "mm.h"
Go to the source code of this file.
Data Structures | |
union | offset_union |
Macros | |
#define | CODING_BITS(i) (i & 0xe0000120) |
#define | LDST_P_BIT(i) (i & (1 << 28)) /* Preindex */ |
#define | LDST_U_BIT(i) (i & (1 << 27)) /* Add offset */ |
#define | LDST_W_BIT(i) (i & (1 << 25)) /* Writeback */ |
#define | LDST_L_BIT(i) (i & (1 << 24)) /* Load */ |
#define | LDST_P_EQ_U(i) ((((i) ^ ((i) >> 1)) & (1 << 27)) == 0) |
#define | LDSTH_I_BIT(i) (i & (1 << 26)) /* half-word immed */ |
#define | LDM_S_BIT(i) (i & (1 << 26)) /* write ASR from BSR */ |
#define | LDM_H_BIT(i) (i & (1 << 6)) /* select r0-r15 or r16-r31 */ |
#define | RN_BITS(i) ((i >> 19) & 31) /* Rn */ |
#define | RD_BITS(i) ((i >> 14) & 31) /* Rd */ |
#define | RM_BITS(i) (i & 31) /* Rm */ |
#define | REGMASK_BITS(i) (((i & 0x7fe00) >> 3) | (i & 0x3f)) |
#define | OFFSET_BITS(i) (i & 0x03fff) |
#define | SHIFT_BITS(i) ((i >> 9) & 0x1f) |
#define | SHIFT_TYPE(i) (i & 0xc0) |
#define | SHIFT_LSL 0x00 |
#define | SHIFT_LSR 0x40 |
#define | SHIFT_ASR 0x80 |
#define | SHIFT_RORRRX 0xc0 |
#define | TYPE_ERROR 0 |
#define | TYPE_FAULT 1 |
#define | TYPE_LDST 2 |
#define | TYPE_DONE 3 |
#define | TYPE_SWAP 4 |
#define | TYPE_COLS 5 /* Coprocessor load/store */ |
#define | get8_unaligned_check(val, addr, err) |
#define | get8t_unaligned_check(val, addr, err) |
#define | get16_unaligned_check(val, addr) |
#define | put16_unaligned_check(val, addr) |
#define | __put32_unaligned_check(ins, val, addr) |
#define | get32_unaligned_check(val, addr) |
#define | put32_unaligned_check(val, addr) __put32_unaligned_check("stb.u", val, addr) |
#define | get32t_unaligned_check(val, addr) |
#define | put32t_unaligned_check(val, addr) __put32_unaligned_check("stb.u", val, addr) |
Functions | |
fs_initcall (alignment_init) | |
Definition at line 134 of file alignment.c.
Definition at line 29 of file alignment.c.
Definition at line 68 of file alignment.c.
Definition at line 84 of file alignment.c.
Definition at line 40 of file alignment.c.
Definition at line 39 of file alignment.c.
Definition at line 34 of file alignment.c.
Definition at line 31 of file alignment.c.
Definition at line 36 of file alignment.c.
Definition at line 32 of file alignment.c.
Definition at line 33 of file alignment.c.
Definition at line 38 of file alignment.c.
Definition at line 47 of file alignment.c.
Definition at line 110 of file alignment.c.
#define put32_unaligned_check | ( | val, | |
addr | |||
) | __put32_unaligned_check("stb.u", val, addr) |
Definition at line 178 of file alignment.c.
#define put32t_unaligned_check | ( | val, | |
addr | |||
) | __put32_unaligned_check("stb.u", val, addr) |
Definition at line 195 of file alignment.c.
Definition at line 43 of file alignment.c.
Definition at line 46 of file alignment.c.
Definition at line 44 of file alignment.c.
Definition at line 42 of file alignment.c.
#define SHIFT_ASR 0x80 |
Definition at line 53 of file alignment.c.
Definition at line 49 of file alignment.c.
#define SHIFT_LSL 0x00 |
Definition at line 51 of file alignment.c.
#define SHIFT_LSR 0x40 |
Definition at line 52 of file alignment.c.
#define SHIFT_RORRRX 0xc0 |
Definition at line 54 of file alignment.c.
Definition at line 50 of file alignment.c.
Definition at line 66 of file alignment.c.
#define TYPE_DONE 3 |
Definition at line 64 of file alignment.c.
#define TYPE_ERROR 0 |
Definition at line 61 of file alignment.c.
#define TYPE_FAULT 1 |
Definition at line 62 of file alignment.c.
#define TYPE_LDST 2 |
Definition at line 63 of file alignment.c.
#define TYPE_SWAP 4 |
Definition at line 65 of file alignment.c.
fs_initcall | ( | alignment_init | ) |