Commit | Line | Data |
---|---|---|
aea481da DE |
1 | /* Copyright (C) 1998, Cygnus Solutions |
2 | ||
3 | */ | |
4 | ||
5 | #ifndef VU1_H_ | |
6 | #define VU1_H_ | |
7 | ||
8 | #include "sim-main.h" | |
9 | ||
52793fab IC |
10 | void vu1_issue(void); |
11 | void vu1_init(SIM_DESC sd); | |
9c577d9a | 12 | int vu1_status(void); |
aea481da DE |
13 | |
14 | #define VU1_MEM0_WINDOW_START 0x11008000 | |
15 | #define VU1_MEM0_SIZE 0x4000 /* 16K = 16384 */ | |
16 | ||
17 | #define VU1_MEM1_WINDOW_START 0x1100c000 | |
18 | #define VU1_MEM1_SIZE 0x4000 /* 16K = 16384 */ | |
19 | ||
20 | #define VU1_REGISTER_WINDOW_START 0x11007000 | |
21 | ||
22 | #define VU1_VF00 0x11007000 | |
23 | /* ... */ | |
24 | #define VU1_VF31 0x110071f0 | |
25 | ||
26 | #define VU1_VI00 0x11007200 | |
27 | /* ... */ | |
28 | #define VU1_VI15 0x110072f0 | |
29 | ||
30 | #define VU1_MST 0x11007300 | |
31 | #define VU1_MMC 0x11007310 | |
32 | #define VU1_MCP 0x11007320 | |
33 | #define VU1_MR 0x11007330 | |
34 | #define VU1_MI 0x11007340 | |
35 | #define VU1_MQ 0x11007350 | |
36 | #define VU1_MP 0x11007360 | |
37 | #define VU1_MTPC 0x110073a0 | |
38 | #define VPE1_STAT 0x110073d0 | |
39 | ||
04a7f72a IC |
40 | #define VPU_STAT 0x110073d0 |
41 | ||
42 | #define VU1_CIA 0x110073e0 | |
43 | ||
44 | ||
45 | #define VU1_REGISTER_WINDOW_END 0x110073f0 | |
aea481da DE |
46 | |
47 | #define VU1_REGISTER_WINDOW_SIZE (VU1_REGISTER_WINDOW_END - VU1_REGISTER_WINDOW_START) | |
48 | ||
49 | #endif |