Revision 917f95fd
b/linux-user/mmap.c | ||
---|---|---|
188 | 188 |
host_start = start & host_page_mask; |
189 | 189 |
|
190 | 190 |
if (!(flags & MAP_FIXED)) { |
191 |
#ifdef __alpha__ |
|
192 |
/* tell the kenel to search at the same place as i386 */ |
|
193 |
if (host_start == 0) |
|
194 |
host_start = 0x40000000; |
|
195 |
#endif |
|
191 | 196 |
if (host_page_size != real_host_page_size) { |
192 | 197 |
/* NOTE: this code is only for debugging with '-p' option */ |
193 | 198 |
/* reserve a memory area */ |
... | ... | |
286 | 291 |
page_set_flags(start, start + len, prot | PAGE_VALID); |
287 | 292 |
the_end: |
288 | 293 |
#ifdef DEBUG_MMAP |
294 |
printf("ret=0x%lx\n", (long)start); |
|
289 | 295 |
page_dump(stdout); |
290 | 296 |
printf("\n"); |
291 | 297 |
#endif |
Also available in: Unified diff