|
@@ -31,6 +31,7 @@
|
|
|
#include "hw/qdev-properties.h"
|
|
|
#include "hw/qdev-properties-system.h"
|
|
|
#include "migration/vmstate.h"
|
|
|
+#include "hw/char/parallel-isa.h"
|
|
|
#include "hw/char/parallel.h"
|
|
|
#include "sysemu/reset.h"
|
|
|
#include "sysemu/sysemu.h"
|
|
@@ -73,17 +74,6 @@
|
|
|
|
|
|
#define PARA_CTR_SIGNAL (PARA_CTR_SELECT|PARA_CTR_INIT|PARA_CTR_AUTOLF|PARA_CTR_STROBE)
|
|
|
|
|
|
-OBJECT_DECLARE_SIMPLE_TYPE(ISAParallelState, ISA_PARALLEL)
|
|
|
-
|
|
|
-struct ISAParallelState {
|
|
|
- ISADevice parent_obj;
|
|
|
-
|
|
|
- uint32_t index;
|
|
|
- uint32_t iobase;
|
|
|
- uint32_t isairq;
|
|
|
- ParallelState state;
|
|
|
-};
|
|
|
-
|
|
|
static void parallel_update_irq(ParallelState *s)
|
|
|
{
|
|
|
if (s->irq_pending)
|