]> git.proxmox.com Git - qemu.git/commit
openpic: combine openpic and mpic reset functions
authorAlexander Graf <agraf@suse.de>
Fri, 7 Dec 2012 23:58:54 +0000 (00:58 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 14 Dec 2012 12:12:55 +0000 (13:12 +0100)
commit825463b38414c9afb657caee1ce20eff2d521317
treed0042aaf89f238b3e01a251b990c8850b5924e13
parentc38c0b8ad0551e470984f2ae7e8e54aae304ed4b
openpic: combine openpic and mpic reset functions

The openpic and mpic reset handlers are almost identical. Combine
them and extract the differences into state variables.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/openpic.c