opcode.h 615 B

1234567891011121314151617181920212223
  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. /* Define opcode values not defined in <asm/isnt.h> */
  10. #ifndef __KVM_MIPS_OPCODE_H__
  11. #define __KVM_MIPS_OPCODE_H__
  12. /* COP0 Ops */
  13. #define mfmcz_op 0x0b /* 01011 */
  14. #define wrpgpr_op 0x0e /* 01110 */
  15. /* COP0 opcodes (only if COP0 and CO=1): */
  16. #define wait_op 0x20 /* 100000 */
  17. #endif /* __KVM_MIPS_OPCODE_H__ */