Statistics
| Branch: | Revision:

root / target-mips / mips-defs.h @ 19221bda

History | View | Annotate | Download (709 Bytes)

1 6af0bf9c bellard
#if !defined (__QEMU_MIPS_DEFS_H__)
2 6af0bf9c bellard
#define __QEMU_MIPS_DEFS_H__
3 6af0bf9c bellard
4 6af0bf9c bellard
/* If we want to use 64 bits host regs... */
5 6af0bf9c bellard
//#define USE_64BITS_REGS
6 6af0bf9c bellard
/* If we want to use host float regs... */
7 6af0bf9c bellard
//#define USE_HOST_FLOAT_REGS
8 6af0bf9c bellard
9 6af0bf9c bellard
/* real pages are variable size... */
10 6af0bf9c bellard
#define TARGET_PAGE_BITS 12
11 6af0bf9c bellard
/* Uses MIPS R4Kc TLB model */
12 6af0bf9c bellard
#define MIPS_USES_R4K_TLB
13 814b9a47 ths
#define MIPS_TLB_MAX 128
14 6af0bf9c bellard
15 60aa19ab ths
#ifdef TARGET_MIPS64
16 c570fd16 ths
#define TARGET_LONG_BITS 64
17 c570fd16 ths
#else
18 c570fd16 ths
#define TARGET_LONG_BITS 32
19 c570fd16 ths
#endif
20 c570fd16 ths
21 19221bda ths
/* Strictly follow the architecture standard:
22 19221bda ths
   - Disallow "special" instruction handling for PMON/SPIM.
23 19221bda ths
   Note that we still maintain Count/Compare to match the host clock. */
24 b48cfdff ths
//#define MIPS_STRICT_STANDARD 1
25 b48cfdff ths
26 6af0bf9c bellard
#endif /* !defined (__QEMU_MIPS_DEFS_H__) */