summary refs log tree commit diff stats
path: root/hw/prep_pci.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2013-01-21 15:53:53 +0000
committerAlexander Graf <agraf@suse.de>2013-01-25 22:02:56 +0100
commite0dfe5b18919a6a4deb841dcf3212e3e998c95e5 (patch)
tree777b08a441fd12990db1579523f877ee32a5bdb2 /hw/prep_pci.c
parent03274d44f655f7b822e845e79fa32b261cdb0774 (diff)
downloadfocaccia-qemu-e0dfe5b18919a6a4deb841dcf3212e3e998c95e5.tar.gz
focaccia-qemu-e0dfe5b18919a6a4deb841dcf3212e3e998c95e5.zip
openpic: add basic support for MPIC v4.2
Besides the new value in the version register, this provides:
- ILR support, which includes:
  - IDR becoming a pure CPU bitmap, allowing 32 CPUs
  - machine check output support (though other parts of QEMU need to
    be fixed for it to do something other than immediately reboot the
    guest)
- dummy error interrupt support (EISR0/EIMR0 read as zero)
  - actually all FSL MPICs get all summary registers returning zero for now,
    which includes EISR0/EIMR0

Various refactoring is done to support these changes and to ease
new functionality (e.g. a more flexible way of declaring regions).

Just as the code was already not a full implementation of MPIC v2.0,
this is not a full implementation of MPIC v4.2 -- e.g. it still has only
one bank of MSIs.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/prep_pci.c')
0 files changed, 0 insertions, 0 deletions