[Qemu-devel] [PATCH 08/19] openpic: combine openpic and mpic reset functions

2012-12-12 Thread Alexander Graf
The openpic and mpic reset handlers are almost identical. Combine them and extract the differences into state variables. Signed-off-by: Alexander Graf --- hw/openpic.c | 103 +++-- 1 files changed, 42 insertions(+), 61 deletions(-) diff --git

[Qemu-devel] [PATCH 08/19] openpic: combine openpic and mpic reset functions

2012-12-08 Thread Alexander Graf
The openpic and mpic reset handlers are almost identical. Combine them and extract the differences into state variables. Signed-off-by: Alexander Graf --- hw/openpic.c | 103 +++-- 1 files changed, 42 insertions(+), 61 deletions(-) diff --git