softmmu: provide tlb_vaddr_to_host function for user mode
commit2e83c496261c799b0fe6b8e18ac80cdc0a5c97ce
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 12 Jun 2015 22:45:49 +0000 (13 00:45 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 17 Jun 2015 10:40:51 +0000 (17 12:40 +0200)
treec75990d7c32e66d5447a0bfcda7461f90887cd0f
parentad8a4570add09a7635cb8cd1c9327640521ee7a7
softmmu: provide tlb_vaddr_to_host function for user mode

To avoid to many #ifdef in target code, provide a tlb_vaddr_to_host for
both user and softmmu modes. In the first case the function always
succeed and just call the g2h function.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/exec/cpu_ldst.h