Revision 52705890 target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
874 | 874 |
|
875 | 875 |
#define TARGET_PAGE_BITS 12 |
876 | 876 |
|
877 |
#ifdef TARGET_X86_64 |
|
878 |
#define TARGET_PHYS_ADDR_SPACE_BITS 52 |
|
879 |
/* ??? This is really 48 bits, sign-extended, but the only thing |
|
880 |
accessible to userland with bit 48 set is the VSYSCALL, and that |
|
881 |
is handled via other mechanisms. */ |
|
882 |
#define TARGET_VIRT_ADDR_SPACE_BITS 47 |
|
883 |
#else |
|
884 |
#define TARGET_PHYS_ADDR_SPACE_BITS 36 |
|
885 |
#define TARGET_VIRT_ADDR_SPACE_BITS 32 |
|
886 |
#endif |
|
887 |
|
|
877 | 888 |
#define cpu_init cpu_x86_init |
878 | 889 |
#define cpu_exec cpu_x86_exec |
879 | 890 |
#define cpu_gen_code cpu_x86_gen_code |
Also available in: Unified diff