OSDN Git Service

target-s390x: function to adjust the length wrt page boundary
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 12 Jun 2015 22:45:50 +0000 (00:45 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 17 Jun 2015 10:40:51 +0000 (12:40 +0200)
commitd7ce6b7a0ba4328a286d09d96395a8fc2fd6943c
tree2145aa83f031c2f1c79d01df396d353801474edc
parent2e83c496261c799b0fe6b8e18ac80cdc0a5c97ce
target-s390x: function to adjust the length wrt page boundary

This patch adds a function to adjust the length of a transfer so that
it doesn't cross a page boundary in softmmu mode. It does nothing in
user mode.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/mem_helper.c