#include <linux/types.h>
#include <linux/swab.h>
#include <linux/stringify.h>
Go to the source code of this file.
#define ___asm_opcode_identity16 |
( |
|
x | ) |
((x) & 0xFFFF) |
#define ___asm_opcode_identity32 |
( |
|
x | ) |
((x) & 0xFFFFFFFF) |
#define ___asm_opcode_swab16 |
( |
|
x | ) |
|
Value:( \
| (((
x) >> 8) & 0x00FF) \
)
Definition at line 32 of file opcodes.h.
#define ___asm_opcode_swab32 |
( |
|
x | ) |
|
Value:( \
(((
x) << 24) & 0xFF000000) \
| (((
x) << 8) & 0x00FF0000) \
| (((
x) >> 8) & 0x0000FF00) \
| (((
x) >> 24) & 0x000000FF) \
)
Definition at line 26 of file opcodes.h.
#define ___asm_opcode_swahb32 |
( |
|
x | ) |
|
Value:( \
(((
x) << 8) & 0xFF00FF00) \
| (((
x) >> 8) & 0x00FF00FF) \
)
Definition at line 36 of file opcodes.h.
#define ___asm_opcode_swahw32 |
( |
|
x | ) |
|
Value:( \
(((
x) << 16) & 0xFFFF0000) \
| (((
x) >> 16) & 0x0000FFFF) \
)
Definition at line 40 of file opcodes.h.
#define ___asm_opcode_thumb32_compose |
( |
|
first, |
|
|
|
second |
|
) |
| |
#define ___inst_arm |
( |
|
x | ) |
".long " __stringify(x) "\n\t" |
#define ___inst_thumb16 |
( |
|
x | ) |
".short " __stringify(x) "\n\t" |
#define ___opcode_identity16 |
( |
|
x | ) |
((u16)(x)) |
#define ___opcode_identity32 |
( |
|
x | ) |
((u32)(x)) |
#define __inst_arm_thumb16 |
( |
|
arm_opcode, |
|
|
|
thumb_opcode |
|
) |
| __inst_arm(arm_opcode) |
#define __inst_arm_thumb32 |
( |
|
arm_opcode, |
|
|
|
thumb_opcode |
|
) |
| __inst_arm(arm_opcode) |
#define __inst_thumb32 |
( |
|
x | ) |
|
#define __opcode_is_thumb16 |
( |
|
x | ) |
|
Value:( \
((
x) & 0xFFFF0000) == 0 \
&& !(((
x) & 0xF800) == 0xE800 || ((
x) & 0xF000) == 0xF000) \
)
Definition at line 140 of file opcodes.h.
#define __opcode_is_thumb32 |
( |
|
x | ) |
|
Value:( \
((
x) & 0xF8000000) == 0xE8000000 \
|| ((
x) & 0xF0000000) == 0xF0000000 \
)
Definition at line 136 of file opcodes.h.
#define ARM_OPCODE_CONDTEST_FAIL 0 |
#define ARM_OPCODE_CONDTEST_PASS 1 |
#define ARM_OPCODE_CONDTEST_UNCOND 2 |