+typedef void (dcpu16_hw_signal_t)(struct dcpu16 *, void *);
+/* these are used to define hardware attached to the system */
+struct dcpu16_hw {
+ struct dcpu16 *vm; /* which system do I belong to */
+ char *name_;
+
+ DCPU16_WORD id_l;
+ DCPU16_WORD id_h;
+ DCPU16_WORD ver;
+ DCPU16_WORD mfg_l;
+ DCPU16_WORD mfg_h;
+
+ dcpu16_hw_signal_t *hwi;
+ dcpu16_hw_signal_t *cycle;
+ dcpu16_hw_signal_t *reset;
+ void *data;
+};
+