2012-11-22 09:34:04 +07:00
|
|
|
/*
|
2014-06-27 02:11:34 +07:00
|
|
|
* 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>
|
2012-11-22 09:34:04 +07:00
|
|
|
*/
|
|
|
|
|
2014-06-27 02:11:34 +07:00
|
|
|
/* Define opcode values not defined in <asm/isnt.h> */
|
|
|
|
|
2012-11-22 09:34:04 +07:00
|
|
|
#ifndef __KVM_MIPS_OPCODE_H__
|
|
|
|
#define __KVM_MIPS_OPCODE_H__
|
|
|
|
|
|
|
|
/* COP0 Ops */
|
2014-06-27 02:11:34 +07:00
|
|
|
#define mfmcz_op 0x0b /* 01011 */
|
|
|
|
#define wrpgpr_op 0x0e /* 01110 */
|
2012-11-22 09:34:04 +07:00
|
|
|
|
2014-06-27 02:11:34 +07:00
|
|
|
/* COP0 opcodes (only if COP0 and CO=1): */
|
|
|
|
#define wait_op 0x20 /* 100000 */
|
2012-11-22 09:34:04 +07:00
|
|
|
|
|
|
|
#endif /* __KVM_MIPS_OPCODE_H__ */
|