Revision 76f35538 exec.c
b/exec.c | ||
---|---|---|
4336 | 4336 |
} |
4337 | 4337 |
|
4338 | 4338 |
#endif |
4339 |
|
|
4340 |
#ifndef CONFIG_USER_ONLY |
|
4341 |
bool cpu_physical_memory_is_io(target_phys_addr_t phys_addr) |
|
4342 |
{ |
|
4343 |
MemoryRegionSection *section; |
|
4344 |
|
|
4345 |
section = phys_page_find(phys_addr >> TARGET_PAGE_BITS); |
|
4346 |
|
|
4347 |
return !(memory_region_is_ram(section->mr) || |
|
4348 |
memory_region_is_romd(section->mr)); |
|
4349 |
} |
|
4350 |
#endif |
Also available in: Unified diff