]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/physmem.c
exec: add wrapper for host pointer access
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 12 Nov 2014 09:44:41 +0000 (11:44 +0200)
committerAmit Shah <amit.shah@redhat.com>
Tue, 16 Dec 2014 12:17:35 +0000 (17:47 +0530)
commit1240be24357ee292f8d05aa2abfdba75dd0ca25d
tree377ce51d512e0916fc18b25b2fce85ce352e9ab4
parent68a5e38a7e428c05610fdbced7e7320a7aea3dc2
exec: add wrapper for host pointer access

host pointer accesses force pointer math, let's
add a wrapper to make them safer.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
exec.c
include/exec/cpu-all.h