aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-07-03 15:44:33 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-07-11 22:29:54 +0200
commit82adabf7e533a29fe5a122090c2bee523624330a (patch)
tree8dbb7fe40b0f4cac9e6e415dd081a04d52a046e7 /python
parent8ac2ffb584590b0398ae4e1a08a0b5d209b6f250 (diff)
downloadqemu-82adabf7e533a29fe5a122090c2bee523624330a.zip
qemu-82adabf7e533a29fe5a122090c2bee523624330a.tar.gz
qemu-82adabf7e533a29fe5a122090c2bee523624330a.tar.bz2
dp8393x: Rewrite dp8393x_get() / dp8393x_put()
Instead of accessing N registers via a single address_space API call using a temporary buffer (stored in the device state) and updating each register, move the address_space call in the register put/get. The load/store and word size checks are moved to put/get too. This simplifies a bit, making the code easier to read. Co-developed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Co-developed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Finn Thain <fthain@linux-m68k.org> Message-Id: <20210710174954.2577195-8-f4bug@amsat.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions