summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/kvm/opcode.h
blob: 03a6ae84c7df40aa1a9ba9d838b63ade0c9153ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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__ */