summaryrefslogtreecommitdiff
path: root/hw/sbi.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-06-17 19:23:44 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-06-17 19:23:44 +0000
commit699775bd9e8389fadcbb0d2f2f3bd9337703853b (patch)
tree4739f43120484ddb3d08611da06ffdc8daa8a0f2 /hw/sbi.c
parent9c6d5431a3e7efcc41ea61ee294bbd41cbd65262 (diff)
downloadqemu-699775bd9e8389fadcbb0d2f2f3bd9337703853b.tar.gz
qemu-699775bd9e8389fadcbb0d2f2f3bd9337703853b.tar.bz2
qemu-699775bd9e8389fadcbb0d2f2f3bd9337703853b.zip
Don't set IRQs on device reset and loadvm/savevm
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sbi.c')
-rw-r--r--hw/sbi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/sbi.c b/hw/sbi.c
index 4350b6ef95..80de8c3ed5 100644
--- a/hw/sbi.c
+++ b/hw/sbi.c
@@ -47,10 +47,6 @@ typedef struct SBIState {
#define SBI_SIZE (SBI_NREGS * 4)
-static void sbi_check_interrupts(void *opaque)
-{
-}
-
static void sbi_set_irq(void *opaque, int irq, int level)
{
}
@@ -122,7 +118,6 @@ static int sbi_load(QEMUFile *f, void *opaque, int version_id)
for (i = 0; i < MAX_CPUS; i++) {
qemu_get_be32s(f, &s->intreg_pending[i]);
}
- sbi_check_interrupts(s);
return 0;
}
@@ -135,7 +130,6 @@ static void sbi_reset(void *opaque)
for (i = 0; i < MAX_CPUS; i++) {
s->intreg_pending[i] = 0;
}
- sbi_check_interrupts(s);
}
void *sbi_init(target_phys_addr_t addr, qemu_irq **irq, qemu_irq **cpu_irq,