blob: 03a6ae84c7df40aa1a9ba9d838b63ade0c9153ad [file] [log] [blame]
Sanjay Lale685c682012-11-21 18:34:04 -08001/*
Deng-Cheng Zhud116e812014-06-26 12:11:34 -07002 * 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>
Sanjay Lale685c682012-11-21 18:34:04 -08008 */
9
Deng-Cheng Zhud116e812014-06-26 12:11:34 -070010/* Define opcode values not defined in <asm/isnt.h> */
11
Sanjay Lale685c682012-11-21 18:34:04 -080012#ifndef __KVM_MIPS_OPCODE_H__
13#define __KVM_MIPS_OPCODE_H__
14
15/* COP0 Ops */
Deng-Cheng Zhud116e812014-06-26 12:11:34 -070016#define mfmcz_op 0x0b /* 01011 */
17#define wrpgpr_op 0x0e /* 01110 */
Sanjay Lale685c682012-11-21 18:34:04 -080018
Deng-Cheng Zhud116e812014-06-26 12:11:34 -070019/* COP0 opcodes (only if COP0 and CO=1): */
20#define wait_op 0x20 /* 100000 */
Sanjay Lale685c682012-11-21 18:34:04 -080021
22#endif /* __KVM_MIPS_OPCODE_H__ */