summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/kvm_mips_opcode.h
blob: 86d3b4cc348b5293f1e72f5e612f830454e38ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* This file is subject to the terms and conditions of the GNU General Public
* License.  See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2012  MIPS Technologies, Inc.  All rights reserved.
* Authors: Sanjay Lal <sanjayl@kymasys.com>
*/

/*
 * Define opcode values not defined in <asm/isnt.h>
 */

#ifndef __KVM_MIPS_OPCODE_H__
#define __KVM_MIPS_OPCODE_H__

/* COP0 Ops */
#define     mfmcz_op         0x0b	/*  01011  */
#define     wrpgpr_op        0x0e	/*  01110  */

/*  COP0 opcodes (only if COP0 and CO=1):  */
#define     wait_op               0x20	/*  100000  */

#endif /* __KVM_MIPS_OPCODE_H__ */