#include <asm/ptrace.h>
#include <asm/uaccess.h>
Go to the source code of this file.
|
#define | REG1(insn) (((insn) & 0x0f00) >> 8) |
|
#define | REG2(insn) ((insn) & 0x000f) |
|
#define | PSW_BC 0x100 |
|
#define | ISA_LD1 0x20c0 /* ld Rdest, @Rsrc */ |
|
#define | ISA_LD2 0x20e0 /* ld Rdest, @Rsrc+ */ |
|
#define | ISA_LDH 0x20a0 /* ldh Rdest, @Rsrc */ |
|
#define | ISA_LDUH 0x20b0 /* lduh Rdest, @Rsrc */ |
|
#define | ISA_ST1 0x2040 /* st Rsrc1, @Rsrc2 */ |
|
#define | ISA_ST2 0x2060 /* st Rsrc1, @+Rsrc2 */ |
|
#define | ISA_ST3 0x2070 /* st Rsrc1, @-Rsrc2 */ |
|
#define | ISA_STH1 0x2020 /* sth Rsrc1, @Rsrc2 */ |
|
#define | ISA_STH2 0x2030 /* sth Rsrc1, @Rsrc2+ */ |
|
#define ISA_LD1 0x20c0 /* ld Rdest, @Rsrc */ |
#define ISA_LD2 0x20e0 /* ld Rdest, @Rsrc+ */ |
#define ISA_LDH 0x20a0 /* ldh Rdest, @Rsrc */ |
#define ISA_LDUH 0x20b0 /* lduh Rdest, @Rsrc */ |
#define ISA_ST1 0x2040 /* st Rsrc1, @Rsrc2 */ |
#define ISA_ST2 0x2060 /* st Rsrc1, @+Rsrc2 */ |
#define ISA_ST3 0x2070 /* st Rsrc1, @-Rsrc2 */ |
#define ISA_STH1 0x2020 /* sth Rsrc1, @Rsrc2 */ |
#define ISA_STH2 0x2030 /* sth Rsrc1, @Rsrc2+ */ |
#define REG1 |
( |
|
insn | ) |
(((insn) & 0x0f00) >> 8) |