softmmu: Add probe_write()
commit3b4afc9e75ab1a95f33e41f462921093f8a109c4
authorYongbok Kim <yongbok.kim@imgtec.com>
Mon, 1 Jun 2015 11:13:23 +0000 (1 12:13 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Thu, 11 Jun 2015 09:13:28 +0000 (11 10:13 +0100)
treed2f9bcad2f99fc11209b1d59993abf96700611ad
parentbe3a8c53b4f18bcc51a462d977cc61a0f46ebb1c
softmmu: Add probe_write()

Probe for whether the specified guest write access is permitted.
If it is not permitted then an exception will be taken in the same
way as if this were a real write access (and we will not return).
Otherwise the function will return, and there will be a valid
entry in the TLB for this access.

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
include/exec/exec-all.h
softmmu_template.h