diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-05-04 21:25:49 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-05-04 21:25:49 +0000 |
commit | 83657d850c3ca66cfb4baae276de83b403a225da (patch) | |
tree | 391b0290d32a9232690ae8a8f4eb397b38258e5f /sim/txvu/gpuif.c | |
parent | 7b9f7f991710c46698b684463ac080dbd7c17bea (diff) | |
download | gdb-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.c | 55 |
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*/); -} |