darling-gdb/sim/txvu/device.h
Ian Carmichael 1e1e3b618f * Initial Device Support
*
*Modified Files:
*    .Sanitize ChangeLog
*Added Files:
*    Makefile.in README.Cygnus config.in configure configure.in
*    device.c device.h dma.c dma.h engine-sky.c gencode.c gpuif.c
*    gpuif.h hardware.c hardware.h interp.c m16.igen mdmx.igen
*    mips.dc mips.igen pke0.c pke0.h pke1.c pke1.h r5900.igen
*    sim-main.h tconfig.in vr5400.igen vu0.c vu0.h vu1.c vu1.h
1998-01-16 19:27:02 +00:00

25 lines
601 B
C

/* Copyright (C) 1998, Cygnus Solutions
*/
#ifndef DEVICE_H_
#define DEVICE_H_
#include "sim-main.h"
typedef int io_read_buffer_callback_type (device *, void *, int,
address_word, unsigned ,
sim_cpu *, sim_cia);
typedef int io_write_buffer_callback_type (device *, const void *, int,
address_word, unsigned ,
sim_cpu *, sim_cia);
struct _device {
char *name;
io_read_buffer_callback_type *io_read_buffer_callback;
io_write_buffer_callback_type *io_write_buffer_callback;
};
#endif