Il 07/05/2013 20:08, Peter Maydell ha scritto:
>> >
>> > -section = phys_page_find(address_space_memory.dispatch, addr >>
>> > TARGET_PAGE_BITS);
>> > +section = address_space_translate(&address_space_memory, addr, &addr,
>> > &l,
>> > + false);
> I fi
On 7 May 2013 15:16, Paolo Bonzini wrote:
> Using phys_page_find to translate an AddressSpace to a MemoryRegionSection
> is unwieldy. It requires to pass the page index rather than the address,
> and later memory_region_section_addr has to be called. Replace
> memory_region_section_addr with a f
Using phys_page_find to translate an AddressSpace to a MemoryRegionSection
is unwieldy. It requires to pass the page index rather than the address,
and later memory_region_section_addr has to be called. Replace
memory_region_section_addr with a function that does all of it: call
phys_page_find, c