aboutsummaryrefslogtreecommitdiff
path: root/sim/txvu/gpuif.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/gpuif.c
parent7b9f7f991710c46698b684463ac080dbd7c17bea (diff)
downloadgdb-83657d850c3ca66cfb4baae276de83b403a225da.zip
gdb-83657d850c3ca66cfb4baae276de83b403a225da.tar.gz
gdb-83657d850c3ca66cfb4baae276de83b403a225da.tar.bz2
* Garbage collection overdue since January.
Diffstat (limited to 'sim/txvu/gpuif.c')
-rw-r--r--sim/txvu/gpuif.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/sim/txvu/gpuif.c b/sim/txvu/gpuif.c
deleted file mode 100644
index 9787bf4..0000000
--- a/sim/txvu/gpuif.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/* Copyright (C) 1998, Cygnus Solutions
-
- */
-
-#include "sim-main.h"
-
-#include "device.h"
-#include "gpuif.h"
-
-int
-gpuif_io_read_buffer(device *me,
- void *dest,
- int space,
- address_word addr,
- unsigned nr_bytes,
- sim_cpu *processor,
- sim_cia cia)
-{
- printf("%s: Read!\n", me->name);
- return nr_bytes;
-}
-
-int
-gpuif_io_write_buffer(device *me,
- const void *source,
- int space,
- address_word addr,
- unsigned nr_bytes,
- sim_cpu *processor,
- sim_cia cia)
-{
- printf("%s: Write!\n", me->name);
- return nr_bytes;
-}
-
-device gpuif_device =
- {
- "Gpuif deivce",
- &gpuif_io_read_buffer,
- &gpuif_io_write_buffer
- };
-
-void
-gpuif_attach(SIM_DESC sd)
-{
- sim_core_attach (sd, NULL,
- 0 /*level*/,
- access_read_write,
- 0 /*space ???*/,
- GPUIF_REGISTER_WINDOW_START,
- GPUIF_REGISTER_WINDOW_SIZE /*nr_bytes*/,
- 0 /*modulo*/,
- &gpuif_device,
- NULL /*buffer*/);
-}