Statistics
| Branch: | Revision:

root / target-mips / mips-defs.h @ beebb570

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