hw/mips/gt64xxx: Simplify ISD MemoryRegion read/write handlers
commit8d492c5f06e107b2f7ebeb66ccb25537cccbf269
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 4 Mar 2021 18:25:11 +0000 (4 19:25 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Mar 2021 19:29:36 +0000 (13 20:29 +0100)
tree14ea6fcc5a2212679575c6b3c1471834f3e9bd32
parent260290677e62473f1901608cc89c6e919bb77fc6
hw/mips/gt64xxx: Simplify ISD MemoryRegion read/write handlers

The ISD MemoryRegion is implemented for 32-bit accesses.
Simplify it by setting the MemoryRegionOps::impl min/max
access size fields.

Since the region is registered with a size of 0x1000 bytes,
we can remove the hwaddr mask.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20210309142630.728014-3-f4bug@amsat.org>
hw/mips/gt64xxx_pci.c