target-lm32: fix debug memory access
authorMichael Walle <michael@walle.cc>
Thu, 5 Apr 2012 17:52:54 +0000 (19:52 +0200)
committerMichael Walle <michael@walle.cc>
Mon, 18 Mar 2013 18:40:34 +0000 (19:40 +0100)
commitb92e062a6f53251feef0969135b539d1fb33f7d6
tree3b70367ae987c17a2ae8c8781ae652a4b9fa607c
parente531761d63b7f8fe6b6423fafb3616ebbff768aa
target-lm32: fix debug memory access

CPU models which have the LM32_FLAG_IGNORE_MSB flag set will shadow the
lower 2GB to the upper 2GB memory space. This will fix the debug memory
access used by qemu console and GDB to match this behaviour.

Signed-off-by: Michael Walle <michael@walle.cc>
target-lm32/helper.c