aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/dv-mn103cpu.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-05-22 01:12:06 +0000
committerAndrew Cagney <cagney@redhat.com>1998-05-22 01:12:06 +0000
commit56833aba592bcd020ef122c244cbfc697730bce9 (patch)
treebb99f88b5ec683752f701606c91b4e2b9370a9de /sim/mn10300/dv-mn103cpu.c
parent5422c7498bcd5f0dee278cd08681e909f5f517ba (diff)
downloadgdb-56833aba592bcd020ef122c244cbfc697730bce9.zip
gdb-56833aba592bcd020ef122c244cbfc697730bce9.tar.gz
gdb-56833aba592bcd020ef122c244cbfc697730bce9.tar.bz2
Back out of hw-main _callback -> _descriptor changes
Diffstat (limited to 'sim/mn10300/dv-mn103cpu.c')
-rw-r--r--sim/mn10300/dv-mn103cpu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sim/mn10300/dv-mn103cpu.c b/sim/mn10300/dv-mn103cpu.c
index 431c2bb..f85ea34 100644
--- a/sim/mn10300/dv-mn103cpu.c
+++ b/sim/mn10300/dv-mn103cpu.c
@@ -21,7 +21,7 @@
#include "sim-main.h"
-#include "hw-main.h"
+#include "hw-base.h"
/* DEVICE
@@ -107,7 +107,7 @@ struct mn103cpu_block {
struct mn103cpu {
struct mn103cpu_block block;
- struct hw_event *pending_handler;
+ hw_event *pending_handler;
int pending_level;
int pending_nmi;
int pending_reset;
@@ -151,9 +151,9 @@ static const struct hw_port_descriptor mn103cpu_ports[] = {
/* 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,
@@ -425,7 +425,7 @@ mn103cpu_io_write_buffer (struct hw *me,
}
-const struct hw_descriptor dv_mn103cpu_descriptor[] = {
+const struct hw_device_descriptor dv_mn103cpu_descriptor[] = {
{ "mn103cpu", mn103cpu_finish, },
{ NULL },
};