1e1e3b618f
* *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
36 lines
684 B
C
36 lines
684 B
C
/* Copyright (C) 1998, Cygnus Solutions
|
|
|
|
*/
|
|
|
|
#ifndef VU0_H_
|
|
#define VU0_H_
|
|
|
|
#include "sim-main.h"
|
|
|
|
void vu0_attach(SIM_DESC sd);
|
|
|
|
#define VU0_MEM0_WINDOW_START 0x11000000
|
|
#define VU0_MEM0_SIZE 0x1000 /* 4K = 4096 */
|
|
|
|
#define VU0_MEM1_WINDOW_START 0x11004000
|
|
#define VU0_MEM1_SIZE 0x1000 /* 4K = 4096 */
|
|
|
|
#define VU0_REGISTER_WINDOW_START 0x10000c00
|
|
|
|
#define VU0_VF00 0x10000c00
|
|
/* ... */
|
|
#define VU0_VF31 0x10000df0
|
|
|
|
#define VU0_VI00 0x10000e00
|
|
/* ... */
|
|
#define VU0_VI15 0x10000ef0
|
|
|
|
/* ... */
|
|
|
|
#define VPE0_STAT 0x10000fd0
|
|
|
|
#define VU0_REGISTER_WINDOW_END 0x10000fe0
|
|
|
|
#define VU0_REGISTER_WINDOW_SIZE (VU0_REGISTER_WINDOW_END - VU0_REGISTER_WINDOW_START)
|
|
|
|
#endif
|