]> Git Repo - qemu.git/commit
openpic: Unfold read_IRQreg
authorAlexander Graf <[email protected]>
Wed, 7 Sep 2011 11:41:54 +0000 (13:41 +0200)
committerAlexander Graf <[email protected]>
Thu, 6 Oct 2011 07:48:06 +0000 (09:48 +0200)
commit8d3a8c1e77b0485d4335aa3733c550dc606ac819
treed68b3bb361d5a83b5d5e3d25caefa3a58e5f3a10
parente5697f20a262e1fbfd8288950d043f359dc19f60
openpic: Unfold read_IRQreg

The helper function read_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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/openpic.c
This page took 0.026097 seconds and 4 git commands to generate.