target/m68k: add index parameter to gen_load()/gen_store() and Co.
authorLaurent Vivier <laurent@vivier.eu>
Thu, 18 Jan 2018 19:38:43 +0000 (20:38 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 25 Jan 2018 15:02:24 +0000 (16:02 +0100)
commit54e1e0b5b5ce4fc76335b1fbbf09cb8fdd5ab89d
tree5fbebe845b8da9a27294f5eeaa7df0ca81ab2f27
parentc05c73b0838fc1b3fea87bc0ffa7b80b0556a2cb
target/m68k: add index parameter to gen_load()/gen_store() and Co.

The instruction "moves" can select source and destination
address space (user or kernel). This patch modifies
all the load/store functions to be able to provide
the address space the caller wants to use instead
of using the current one. All the callers are modified
to provide the default address space to these functions.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180118193846.24953-5-laurent@vivier.eu>
target/m68k/translate.c