exec: introduce memory_ldst.inc.c
commit0ce265ffef87f19f4dd1ff0663e09a63d66ae408
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Nov 2016 10:34:02 +0000 (22 11:34 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Dec 2016 15:00:23 +0000 (22 16:00 +0100)
treede9ff3b0fced597a4f70f16efad80507bb75f761
parent2651efe7f5f9d6dc89c8e54d7d63952b7b22597d
exec: introduce memory_ldst.inc.c

Templatize the address_space_* and *_phys functions, so that we can add
similar functions in the next patch that work with a lightweight,
cache-like version of address_space_map/unmap.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/cpu-common.h
include/exec/memory.h
memory_ldst.inc.c [new file with mode: 0644]