start-sanitize-am30
-Thu May 14 19:30:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * dv-mn103cpu.c: Use struct hw_event.
- * dv-mn103cpu.c, dv-mn103int.c: Don't include hw-base.h, include
- hw-main.h
- * dv-mn103cpu.c, dv-mn103int.c: Rename *_callback to *_method.
-
Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (sim_open): Create a polling PAL device.
#include "sim-main.h"
-#include "hw-main.h"
+#include "hw-base.h"
/* DEVICE
struct mn103cpu {
struct mn103cpu_block block;
- struct hw_event *pending_handler;
+ hw_event *pending_handler;
int pending_level;
int pending_nmi;
int pending_reset;
/* Finish off the partially created hw device. Attach our local
callbacks. Wire up our port names etc */
-static hw_io_read_buffer_method mn103cpu_io_read_buffer;
-static hw_io_write_buffer_method mn103cpu_io_write_buffer;
-static hw_port_event_method mn103cpu_port_event;
+static hw_io_read_buffer_callback mn103cpu_io_read_buffer;
+static hw_io_write_buffer_callback mn103cpu_io_write_buffer;
+static hw_port_event_callback mn103cpu_port_event;
static void
attach_mn103cpu_regs (struct hw *me,
}
-const struct hw_descriptor dv_mn103cpu_descriptor[] = {
+const struct hw_device_descriptor dv_mn103cpu_descriptor[] = {
{ "mn103cpu", mn103cpu_finish, },
{ NULL },
};
*/
-#include "hw-main.h"
+#include "sim-main.h"
+#include "hw-base.h"
/* DEVICE
/* Finish off the partially created hw device. Attach our local
callbacks. Wire up our port names etc */
-static hw_io_read_buffer_method mn103int_io_read_buffer;
-static hw_io_write_buffer_method mn103int_io_write_buffer;
-static hw_port_event_method mn103int_port_event;
+static hw_io_read_buffer_callback mn103int_io_read_buffer;
+static hw_io_write_buffer_callback mn103int_io_write_buffer;
+static hw_port_event_callback mn103int_port_event;
static void
attach_mn103int_regs (struct hw *me,
}
-const struct hw_descriptor dv_mn103int_descriptor[] = {
+const struct hw_device_descriptor dv_mn103int_descriptor[] = {
{ "mn103int", mn103int_finish, },
{ NULL },
};