aboutsummaryrefslogtreecommitdiff
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
commit42f1ced228c9b616cfa2b69846025271618e4ef5 (patch)
tree4739f43120484ddb3d08611da06ffdc8daa8a0f2 /hw/sbi.c
parenteae6bcbfd87c94fd2399b334c2b0a3a9cfa51f52 (diff)
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,