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