2005-07-02 22:58:51 +08:00
|
|
|
#if !defined (__QEMU_MIPS_DEFS_H__)
|
|
|
|
#define __QEMU_MIPS_DEFS_H__
|
|
|
|
|
|
|
|
/* If we want to use 64 bits host regs... */
|
|
|
|
//#define USE_64BITS_REGS
|
|
|
|
/* If we want to use host float regs... */
|
|
|
|
//#define USE_HOST_FLOAT_REGS
|
|
|
|
|
|
|
|
/* 32 bits target */
|
2006-12-21 09:19:56 +08:00
|
|
|
#undef MIPS_HAS_MIPS64
|
|
|
|
//#define MIPS_HAS_MIPS64 1
|
2005-07-02 22:58:51 +08:00
|
|
|
/* real pages are variable size... */
|
|
|
|
#define TARGET_PAGE_BITS 12
|
|
|
|
/* Uses MIPS R4Kc TLB model */
|
|
|
|
#define MIPS_USES_R4K_TLB
|
|
|
|
#define MIPS_TLB_NB 16
|
2006-12-07 01:42:40 +08:00
|
|
|
#define MIPS_TLB_MAX 128
|
2005-07-02 22:58:51 +08:00
|
|
|
|
2006-12-21 09:19:56 +08:00
|
|
|
#ifdef MIPS_HAS_MIPS64
|
|
|
|
#define TARGET_LONG_BITS 64
|
|
|
|
#else
|
|
|
|
#define TARGET_LONG_BITS 32
|
|
|
|
#endif
|
|
|
|
|
2005-07-02 22:58:51 +08:00
|
|
|
#endif /* !defined (__QEMU_MIPS_DEFS_H__) */
|