[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] hw/arm/gic: Code duplication removal
From: |
Pavel Fedin |
Subject: |
[Qemu-devel] [PATCH v2 0/3] hw/arm/gic: Code duplication removal |
Date: |
Wed, 05 Aug 2015 10:05:43 +0300 |
I decided to make this small patchset in order to try to push some of my
changes before 2.4 is out. Idea of first patch of this set came during
vGICv3 implementation. In order to be able to upstream it earlier i decided
to make it doing something useful and refactored GICv2 code.
This patchset contains no functional enhancements. Only cleanup and refactor.
v1 -> v2:
- Use correct size of CPU interface region for pre-v2 GICs
- Improved comments
Pavel Fedin (3):
Merge memory_region_init_reservation() into memory_region_init_io()
hw/arm/gic: Kill code duplication
Introduce gic_class_name() instead of repeating condition
hw/arm/virt.c | 7 ++---
hw/cpu/a15mpcore.c | 8 ++---
hw/intc/arm_gic.c | 64 ++++++++++++----------------------------
hw/intc/arm_gic_common.c | 41 +++++++++++++++++++++++++
hw/intc/arm_gic_kvm.c | 28 +-----------------
include/exec/memory.h | 14 +++++++--
include/hw/intc/arm_gic_common.h | 3 ++
memory.c | 10 +------
target-arm/kvm_arm.h | 5 ++++
9 files changed, 86 insertions(+), 94 deletions(-)
--
1.9.5.msysgit.0
- [Qemu-devel] [PATCH v2 0/3] hw/arm/gic: Code duplication removal,
Pavel Fedin <=