Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. |
| 7 | * Authors: Sanjay Lal <sanjayl@kymasys.com> |
| 8 | */ |
| 9 | |
| 10 | /* Define opcode values not defined in <asm/isnt.h> */ |
| 11 | |
| 12 | #ifndef __KVM_MIPS_OPCODE_H__ |
| 13 | #define __KVM_MIPS_OPCODE_H__ |
| 14 | |
| 15 | /* COP0 Ops */ |
| 16 | #define mfmcz_op 0x0b /* 01011 */ |
| 17 | #define wrpgpr_op 0x0e /* 01110 */ |
| 18 | |
| 19 | /* COP0 opcodes (only if COP0 and CO=1): */ |
| 20 | #define wait_op 0x20 /* 100000 */ |
| 21 | |
| 22 | #endif /* __KVM_MIPS_OPCODE_H__ */ |