-/* This file is part of the program GDB, the GU debugger.
+/* This file is part of the program GDB, the GNU debugger.
Copyright (C) 1998 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
#include "sim-main.h"
-#include "hw-base.h"
+#include "hw-main.h"
/* DEVICE
Implements the external mn10300 functionality. This includes the
- delivery of of interrupts generated from other devices and the
+ delivery of interrupts generated from other devices and the
handling of device specific registers.
ack (output)
Output signal indicating that the processor is delivering a level
- interrupt. The value passed with the event specfies the level of
+ interrupt. The value passed with the event specifies the level of
the interrupt being delivered.
};
-/* input port ID's */
+/* output port ID's */
enum {
ACK_PORT,
/* Finish off the partially created hw device. Attach our local
callbacks. Wire up our port names etc */
-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 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 void
attach_mn103cpu_regs (struct hw *me,
}
-const struct hw_device_descriptor dv_mn103cpu_descriptor[] = {
+const struct hw_descriptor dv_mn103cpu_descriptor[] = {
{ "mn103cpu", mn103cpu_finish, },
{ NULL },
};