mips-defs.h (0bbba1665ca2e7f1c80d4797077fe57bad58898e) | mips-defs.h (74433bf083b0766aba81534f92de13194f23ff3e) |
---|---|
1#ifndef QEMU_MIPS_DEFS_H 2#define QEMU_MIPS_DEFS_H 3 4/* If we want to use host float regs... */ 5//#define USE_HOST_FLOAT_REGS 6 7/* Real pages are variable size... */ | 1#ifndef QEMU_MIPS_DEFS_H 2#define QEMU_MIPS_DEFS_H 3 4/* If we want to use host float regs... */ 5//#define USE_HOST_FLOAT_REGS 6 7/* Real pages are variable size... */ |
8#define TARGET_PAGE_BITS 12 | |
9#define MIPS_TLB_MAX 128 10 | 8#define MIPS_TLB_MAX 128 9 |
11#if defined(TARGET_MIPS64) 12#define TARGET_LONG_BITS 64 13#define TARGET_PHYS_ADDR_SPACE_BITS 48 14#define TARGET_VIRT_ADDR_SPACE_BITS 48 15#else 16#define TARGET_LONG_BITS 32 17#define TARGET_PHYS_ADDR_SPACE_BITS 40 18# ifdef CONFIG_USER_ONLY 19# define TARGET_VIRT_ADDR_SPACE_BITS 31 20# else 21# define TARGET_VIRT_ADDR_SPACE_BITS 32 22#endif 23#endif 24 | |
25/* 26 * bit definitions for insn_flags (ISAs/ASEs flags) 27 * ------------------------------------------------ 28 */ 29/* 30 * bits 0-31: MIPS base instruction sets 31 */ 32#define ISA_MIPS1 0x0000000000000001ULL --- 82 unchanged lines hidden --- | 10/* 11 * bit definitions for insn_flags (ISAs/ASEs flags) 12 * ------------------------------------------------ 13 */ 14/* 15 * bits 0-31: MIPS base instruction sets 16 */ 17#define ISA_MIPS1 0x0000000000000001ULL --- 82 unchanged lines hidden --- |