vt82c686: Fix superio_cfg_{read,write}() functions
commitcc2b4550115baf77d556341f17eb464d18953cee
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 9 Jan 2021 20:16:36 +0000 (9 21:16 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (21 19:42 +0100)
tree6d0d4b6969d47b148a41d255d038fbaa14382a13
parent2c4c556e0616a003c37d53f005b7bc1b65b234ab
vt82c686: Fix superio_cfg_{read,write}() functions

These functions are memory region callbacks so we have to check
against relative address not the mapped address.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <15b2968fd300a12d06b42368d084f6f80d3c3be5.1610223397.git.balaton@eik.bme.hu>
[PMD: Split original patch in 5, this is part 5/5]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c