summaryrefslogtreecommitdiff
path: root/hw/etraxfs.h
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-16 00:23:15 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-16 02:13:08 +0200
commit73cfd29fb34568f926386c2f43811362f2c22154 (patch)
tree1c49809001b05a8871fb462e7e717163075d439d /hw/etraxfs.h
parentdf84e4f34504ffc2d9daaa0238fcf67f3dbbf681 (diff)
downloadqemu-73cfd29fb34568f926386c2f43811362f2c22154.zip
ETRAX: Simplify PIC interface.
Instead of exporting a custom structure to represent different interrupt types, just export the irq array and have the top elements point to the NMI lines. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/etraxfs.h')
-rw-r--r--hw/etraxfs.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/hw/etraxfs.h b/hw/etraxfs.h
index 17dca29a44..247cb695f8 100644
--- a/hw/etraxfs.h
+++ b/hw/etraxfs.h
@@ -24,16 +24,7 @@
#include "etraxfs_dma.h"
-struct etraxfs_pic
-{
- qemu_irq *irq;
- qemu_irq *nmi;
- qemu_irq *guru;
-
- void *internal;
-};
-
-struct etraxfs_pic *etraxfs_pic_init(CPUState *env, target_phys_addr_t base);
+qemu_irq *etraxfs_pic_init(CPUState *env, target_phys_addr_t base);
void etraxfs_timer_init(CPUState *env, qemu_irq *irqs, qemu_irq *nmi,
target_phys_addr_t base);
void *etraxfs_eth_init(NICInfo *nd, CPUState *env,