Revision bb7ec043
b/linux-user/main.c | ||
---|---|---|
1763 | 1763 |
env->dregs[3], |
1764 | 1764 |
env->dregs[4], |
1765 | 1765 |
env->dregs[5], |
1766 |
env->dregs[6]);
|
|
1766 |
env->aregs[0]);
|
|
1767 | 1767 |
} |
1768 | 1768 |
break; |
1769 | 1769 |
case EXCP_INTERRUPT: |
b/linux-user/syscall.c | ||
---|---|---|
4086 | 4086 |
#endif |
4087 | 4087 |
#ifdef TARGET_NR_mmap2 |
4088 | 4088 |
case TARGET_NR_mmap2: |
4089 |
#if defined(TARGET_SPARC) || defined(TARGET_MIPS)
|
|
4089 |
#ifndef MMAP_SHIFT
|
|
4090 | 4090 |
#define MMAP_SHIFT 12 |
4091 |
#else |
|
4092 |
#define MMAP_SHIFT TARGET_PAGE_BITS |
|
4093 | 4091 |
#endif |
4094 | 4092 |
ret = get_errno(target_mmap(arg1, arg2, arg3, |
4095 | 4093 |
target_to_host_bitmask(arg4, mmap_flags_tbl), |
b/target-cris/cpu.h | ||
---|---|---|
213 | 213 |
|
214 | 214 |
/* CRIS uses 8k pages. */ |
215 | 215 |
#define TARGET_PAGE_BITS 13 |
216 |
#define MMAP_SHIFT TARGET_PAGE_BITS |
|
216 | 217 |
|
217 | 218 |
#define CPUState CPUCRISState |
218 | 219 |
#define cpu_init cpu_cris_init |
Also available in: Unified diff