[Qemu-devel] [PATCH 02/19] mpic: Unify numbering scheme

2012-12-12 Thread Alexander Graf
MPIC interrupt numbers in Linux (device tree) and in QEMU are different, because QEMU takes the sparseness of the IRQ number space into account. Remove that cleverness and instead assume a flat number space. This makes the code easier to understand, because we are actually aligned with Linux on th

[Qemu-devel] [PATCH 02/19] mpic: Unify numbering scheme

2012-12-08 Thread Alexander Graf
MPIC interrupt numbers in Linux (device tree) and in QEMU are different, because QEMU takes the sparseness of the IRQ number space into account. Remove that cleverness and instead assume a flat number space. This makes the code easier to understand, because we are actually aligned with Linux on th