kvm_mips_opcode.h 660 B

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