Skip to content
Commit eb7eeb88 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

memory: split address_space_read and address_space_write



Rather than dispatching on is_write for every iteration, make
address_space_rw call one of the two functions.  The amount of
duplicate logic is pretty small, and memory_access_is_direct can
be tweaked so that it inlines better in the callers.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 612263cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment