summaryrefslogtreecommitdiffstats
path: root/hw/cuda.c
diff options
context:
space:
mode:
authorAlexander Graf2011-09-07 13:47:22 +0200
committerAlexander Graf2011-10-06 09:48:07 +0200
commit11de8b716665f1f6d5e586c62411f47ae539c0dc (patch)
tree208f19e1f08d4729a524ffc82f409d7c88dc4e5a /hw/cuda.c
parentopenpic: Unfold read_IRQreg (diff)
downloadqemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.tar.gz
qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.tar.xz
qemu-11de8b716665f1f6d5e586c62411f47ae539c0dc.zip
openpic: Unfold write_IRQreg
The helper function write_IRQreg was always called with a specific argument on the type of register to access. Inside the function we were simply doing a switch on that constant argument again. It's a lot easier to just unfold this into two separate functions and call each individually. Reported-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/cuda.c')
0 files changed, 0 insertions, 0 deletions