aboutsummaryrefslogtreecommitdiff
path: root/sim/txvu/hardware.c
diff options
context:
space:
mode:
authorIan Carmichael <iancarm@cygnus>1998-01-16 19:27:02 +0000
committerIan Carmichael <iancarm@cygnus>1998-01-16 19:27:02 +0000
commit1e1e3b618f80c51d59a6ebeefe282bb920d4a0e8 (patch)
tree5a6580db4e0a13dbaf7917655c3e1734690f3c9c /sim/txvu/hardware.c
parent8e12359329fd48edc455afa2f80922eca7b79a7d (diff)
downloadgdb-1e1e3b618f80c51d59a6ebeefe282bb920d4a0e8.zip
gdb-1e1e3b618f80c51d59a6ebeefe282bb920d4a0e8.tar.gz
gdb-1e1e3b618f80c51d59a6ebeefe282bb920d4a0e8.tar.bz2
* 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
Diffstat (limited to 'sim/txvu/hardware.c')
-rw-r--r--sim/txvu/hardware.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/sim/txvu/hardware.c b/sim/txvu/hardware.c
new file mode 100644
index 0000000..2e87c18
--- /dev/null
+++ b/sim/txvu/hardware.c
@@ -0,0 +1,24 @@
+/* Copyright (C) 1998, Cygnus Solutions
+
+ */
+
+#include "gpuif.h"
+#include "dma.h"
+#include "pke0.h"
+#include "pke1.h"
+#include "vu0.h"
+#include "vu1.h"
+
+#include "hardware.h"
+
+void
+register_devices(SIM_DESC sd)
+{
+ /* Attach a bunch of devices... */
+ gpuif_attach(sd);
+ dma_attach(sd);
+ pke0_attach(sd);
+ vu0_attach(sd);
+ vu1_attach(sd);
+ pke1_attach(sd);
+}