root / target-mips / mips-defs.h @ 3953d786
History | View | Annotate | Download (593 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 |
/* 32 bits target */
|
10 |
#undef MIPS_HAS_MIPS64
|
11 |
//#define MIPS_HAS_MIPS64 1
|
12 |
/* real pages are variable size... */
|
13 |
#define TARGET_PAGE_BITS 12 |
14 |
/* Uses MIPS R4Kc TLB model */
|
15 |
#define MIPS_USES_R4K_TLB
|
16 |
#define MIPS_TLB_NB 16 |
17 |
#define MIPS_TLB_MAX 128 |
18 |
|
19 |
#ifdef MIPS_HAS_MIPS64
|
20 |
#define TARGET_LONG_BITS 64 |
21 |
#else
|
22 |
#define TARGET_LONG_BITS 32 |
23 |
#endif
|
24 |
|
25 |
#endif /* !defined (__QEMU_MIPS_DEFS_H__) */ |