mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
MIPS has also a fixed MMAP_SHIFT of 12.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2243 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8e33c08c84
commit
0d3267a728
@ -2673,7 +2673,7 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
|
||||
break;
|
||||
#ifdef TARGET_NR_mmap2
|
||||
case TARGET_NR_mmap2:
|
||||
#if defined(TARGET_SPARC)
|
||||
#if defined(TARGET_SPARC) || defined(TARGET_MIPS)
|
||||
#define MMAP_SHIFT 12
|
||||
#else
|
||||
#define MMAP_SHIFT TARGET_PAGE_BITS
|
||||
|
Loading…
Reference in New Issue
Block a user