aboutsummaryrefslogtreecommitdiff
path: root/sim/txvu/device.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-05-04 21:25:49 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-05-04 21:25:49 +0000
commit83657d850c3ca66cfb4baae276de83b403a225da (patch)
tree391b0290d32a9232690ae8a8f4eb397b38258e5f /sim/txvu/device.c
parent7b9f7f991710c46698b684463ac080dbd7c17bea (diff)
downloadgdb-83657d850c3ca66cfb4baae276de83b403a225da.zip
gdb-83657d850c3ca66cfb4baae276de83b403a225da.tar.gz
gdb-83657d850c3ca66cfb4baae276de83b403a225da.tar.bz2
* Garbage collection overdue since January.
Diffstat (limited to 'sim/txvu/device.c')
-rw-r--r--sim/txvu/device.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/sim/txvu/device.c b/sim/txvu/device.c
deleted file mode 100644
index 5dda361..0000000
--- a/sim/txvu/device.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/* Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au>
- Copyright (C) 1998, Cygnus Solutions
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
- */
-
-#include "sim-main.h"
-#include "device.h"
-
-void
-device_error (device *me, char* message)
-{
- fprintf(stderr, "device_error: %s: %s", me->name, message);
-}
-
-int
-device_io_read_buffer(device *me,
- void *dest,
- int space,
- address_word addr,
- unsigned nr_bytes,
- sim_cpu *processor,
- sim_cia cia)
-{
- if (me->io_read_buffer_callback == NULL)
- device_error(me, "no io_read_buffer_callback method");
- return me->io_read_buffer_callback(me, dest, space,
- addr, nr_bytes,
- processor, cia);
-}
-
-int
-device_io_write_buffer(device *me,
- const void *source,
- int space,
- address_word addr,
- unsigned nr_bytes,
- sim_cpu *processor,
- sim_cia cia)
-{
- if (me->io_write_buffer_callback == NULL)
- device_error(me, "no io_write_buffer_callback method");
- return me->io_write_buffer_callback(me, source, space,
- addr, nr_bytes,
- processor, cia);
-}