diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-06-23 17:34:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-05 16:08:35 +0200 |
commit | 9f730a60e5a046230cff8c9f4c8eb73f6dca7d81 (patch) | |
tree | 9d5b4804713cfbbd7da6fc182c084ddb9a7f37e9 /arch/mips/include/uapi | |
parent | 61c64cf99ae589af3835dbc9bb57200d4a4842ae (diff) | |
download | op-kernel-dev-9f730a60e5a046230cff8c9f4c8eb73f6dca7d81.zip op-kernel-dev-9f730a60e5a046230cff8c9f4c8eb73f6dca7d81.tar.gz |
MIPS: uasm: Add MTHI/MTLO instructions
Add MTHI/MTLO instructions for writing to the hi & lo registers to uasm
so that KVM can use uasm for generating its entry point code at runtime.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/include/uapi')
-rw-r--r-- | arch/mips/include/uapi/asm/inst.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index 7010d0b..6319c50 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h @@ -375,7 +375,9 @@ enum mm_32axf_minor_op { mm_mflo32_op = 0x075, mm_jalrhb_op = 0x07c, mm_tlbwi_op = 0x08d, + mm_mthi32_op = 0x0b5, mm_tlbwr_op = 0x0cd, + mm_mtlo32_op = 0x0f5, mm_di_op = 0x11d, mm_jalrs_op = 0x13c, mm_jalrshb_op = 0x17c, |