root / target-mips / mips-defs.h @ 38121543
History | View | Annotate | Download (519 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 | 6af0bf9c | bellard | #define MIPS_TLB_NB 16 |
14 | 814b9a47 | ths | #define MIPS_TLB_MAX 128 |
15 | 6af0bf9c | bellard | |
16 | 60aa19ab | ths | #ifdef TARGET_MIPS64
|
17 | c570fd16 | ths | #define TARGET_LONG_BITS 64 |
18 | c570fd16 | ths | #else
|
19 | c570fd16 | ths | #define TARGET_LONG_BITS 32 |
20 | c570fd16 | ths | #endif
|
21 | c570fd16 | ths | |
22 | 6af0bf9c | bellard | #endif /* !defined (__QEMU_MIPS_DEFS_H__) */ |