PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | __attribute__ |
struct | VIFR |
struct | VIFC |
Macros | |
#define | VU0_MEM0_START 0x11000000 |
#define | VU0_MICROMEM0_START 0x11004000 |
#define | VU1_MEM1_START 0x11008000 |
#define | VU1_MICROMEM1_START 0x1100C000 |
#define | VIF0_FIFO 0x10004000 |
#define | VIF1_FIFO 0x10005000 |
#define | VIF0_STAT *(volatile u32 *)0x10003800 |
#define | VIF0_FBRST *(volatile u32 *)0x10003810 |
#define | VIF0_ERR *(volatile u32 *)0x10003820 |
#define | VIF0_MARK *(volatile u32 *)0x10003830 |
#define | VIF0_CYCLE *(volatile u32 *)0x10003840 |
#define | VIF0_MODE *(volatile u32 *)0x10003850 |
#define | VIF0_NUM *(volatile u32 *)0x10003860 |
#define | VIF0_MASK *(volatile u32 *)0x10003870 |
#define | VIF0_CODE *(volatile u32 *)0x10003880 |
#define | VIF0_ITOPS *(volatile u32 *)0x10003890 |
#define | VIF0_ITOP *(volatile u32 *)0x100038d0 |
#define | VIF0_TOP *(volatile u32 *)0x100038e0 |
#define | VIF0_R0 *(volatile u32 *)0x10003900 |
#define | VIF0_R1 *(volatile u32 *)0x10003910 |
#define | VIF0_R2 *(volatile u32 *)0x10003920 |
#define | VIF0_R3 *(volatile u32 *)0x10003930 |
#define | VIF0_C0 *(volatile u32 *)0x10003940 |
#define | VIF0_C1 *(volatile u32 *)0x10003950 |
#define | VIF0_C2 *(volatile u32 *)0x10003960 |
#define | VIF0_C3 *(volatile u32 *)0x10003970 |
#define | VIF1_STAT *(volatile u32 *)0x10003c00 |
#define | VIF1_FBRST *(volatile u32 *)0x10003c10 |
#define | VIF1_ERR *(volatile u32 *)0x10003c20 |
#define | VIF1_MARK *(volatile u32 *)0x10003c30 |
#define | VIF1_CYCLE *(volatile u32 *)0x10003c40 |
#define | VIF1_MODE *(volatile u32 *)0x10003c50 |
#define | VIF1_NUM *(volatile u32 *)0x10003c60 |
#define | VIF1_MASK *(volatile u32 *)0x10003c70 |
#define | VIF1_CODE *(volatile u32 *)0x10003c80 |
#define | VIF1_ITOPS *(volatile u32 *)0x10003c90 |
#define | VIF1_BASE *(volatile u32 *)0x10003ca0 |
#define | VIF1_OFST *(volatile u32 *)0x10003cb0 |
#define | VIF1_TOPS *(volatile u32 *)0x10003cc0 |
#define | VIF1_ITOP *(volatile u32 *)0x10003cd0 |
#define | VIF1_TOP *(volatile u32 *)0x10003ce0 |
#define | VIF1_R0 *(volatile u32 *)0x10003d00 |
#define | VIF1_R1 *(volatile u32 *)0x10003d10 |
#define | VIF1_R2 *(volatile u32 *)0x10003d20 |
#define | VIF1_R3 *(volatile u32 *)0x10003d30 |
#define | VIF1_C0 *(volatile u32 *)0x10003d40 |
#define | VIF1_C1 *(volatile u32 *)0x10003d50 |
#define | VIF1_C2 *(volatile u32 *)0x10003d60 |
#define | VIF1_C3 *(volatile u32 *)0x10003d70 |
#define | VIF_SET_FBRST(RST, FBK, STP, STC) |
#define | VIF_SET_ERR(MII, ME0, ME1) |
#define | VIF_SET_MARK(MARK) (u32)((MARK)&0x0000FFFF) << 0 |
VIF registers.
Definition in file vif_registers.h.
struct VIFR |
Definition at line 172 of file vif_registers.h.
Data Fields | ||
---|---|---|
u32 | row |
struct VIFC |
Definition at line 177 of file vif_registers.h.
Data Fields | ||
---|---|---|
u32 | column |
#define VU0_MEM0_START 0x11000000 |
Definition at line 11 of file vif_registers.h.
#define VU0_MICROMEM0_START 0x11004000 |
Definition at line 12 of file vif_registers.h.
#define VU1_MEM1_START 0x11008000 |
Definition at line 14 of file vif_registers.h.
#define VU1_MICROMEM1_START 0x1100C000 |
Definition at line 15 of file vif_registers.h.
#define VIF0_FIFO 0x10004000 |
Definition at line 17 of file vif_registers.h.
#define VIF1_FIFO 0x10005000 |
Definition at line 18 of file vif_registers.h.
#define VIF0_STAT *(volatile u32 *)0x10003800 |
Definition at line 20 of file vif_registers.h.
#define VIF0_FBRST *(volatile u32 *)0x10003810 |
Definition at line 21 of file vif_registers.h.
#define VIF0_ERR *(volatile u32 *)0x10003820 |
Definition at line 22 of file vif_registers.h.
#define VIF0_MARK *(volatile u32 *)0x10003830 |
Definition at line 23 of file vif_registers.h.
#define VIF0_CYCLE *(volatile u32 *)0x10003840 |
Definition at line 24 of file vif_registers.h.
#define VIF0_MODE *(volatile u32 *)0x10003850 |
Definition at line 25 of file vif_registers.h.
#define VIF0_NUM *(volatile u32 *)0x10003860 |
Definition at line 26 of file vif_registers.h.
#define VIF0_MASK *(volatile u32 *)0x10003870 |
Definition at line 27 of file vif_registers.h.
#define VIF0_CODE *(volatile u32 *)0x10003880 |
Definition at line 28 of file vif_registers.h.
#define VIF0_ITOPS *(volatile u32 *)0x10003890 |
Definition at line 29 of file vif_registers.h.
#define VIF0_ITOP *(volatile u32 *)0x100038d0 |
Definition at line 30 of file vif_registers.h.
#define VIF0_TOP *(volatile u32 *)0x100038e0 |
Definition at line 31 of file vif_registers.h.
#define VIF0_R0 *(volatile u32 *)0x10003900 |
Definition at line 32 of file vif_registers.h.
#define VIF0_R1 *(volatile u32 *)0x10003910 |
Definition at line 33 of file vif_registers.h.
#define VIF0_R2 *(volatile u32 *)0x10003920 |
Definition at line 34 of file vif_registers.h.
#define VIF0_R3 *(volatile u32 *)0x10003930 |
Definition at line 35 of file vif_registers.h.
#define VIF0_C0 *(volatile u32 *)0x10003940 |
Definition at line 36 of file vif_registers.h.
#define VIF0_C1 *(volatile u32 *)0x10003950 |
Definition at line 37 of file vif_registers.h.
#define VIF0_C2 *(volatile u32 *)0x10003960 |
Definition at line 38 of file vif_registers.h.
#define VIF0_C3 *(volatile u32 *)0x10003970 |
Definition at line 39 of file vif_registers.h.
#define VIF1_STAT *(volatile u32 *)0x10003c00 |
Definition at line 41 of file vif_registers.h.
#define VIF1_FBRST *(volatile u32 *)0x10003c10 |
Definition at line 42 of file vif_registers.h.
#define VIF1_ERR *(volatile u32 *)0x10003c20 |
Definition at line 43 of file vif_registers.h.
#define VIF1_MARK *(volatile u32 *)0x10003c30 |
Definition at line 44 of file vif_registers.h.
#define VIF1_CYCLE *(volatile u32 *)0x10003c40 |
Definition at line 45 of file vif_registers.h.
#define VIF1_MODE *(volatile u32 *)0x10003c50 |
Definition at line 46 of file vif_registers.h.
#define VIF1_NUM *(volatile u32 *)0x10003c60 |
Definition at line 47 of file vif_registers.h.
#define VIF1_MASK *(volatile u32 *)0x10003c70 |
Definition at line 48 of file vif_registers.h.
#define VIF1_CODE *(volatile u32 *)0x10003c80 |
Definition at line 49 of file vif_registers.h.
#define VIF1_ITOPS *(volatile u32 *)0x10003c90 |
Definition at line 50 of file vif_registers.h.
#define VIF1_BASE *(volatile u32 *)0x10003ca0 |
Definition at line 51 of file vif_registers.h.
#define VIF1_OFST *(volatile u32 *)0x10003cb0 |
Definition at line 52 of file vif_registers.h.
#define VIF1_TOPS *(volatile u32 *)0x10003cc0 |
Definition at line 53 of file vif_registers.h.
#define VIF1_ITOP *(volatile u32 *)0x10003cd0 |
Definition at line 54 of file vif_registers.h.
#define VIF1_TOP *(volatile u32 *)0x10003ce0 |
Definition at line 55 of file vif_registers.h.
#define VIF1_R0 *(volatile u32 *)0x10003d00 |
Definition at line 56 of file vif_registers.h.
#define VIF1_R1 *(volatile u32 *)0x10003d10 |
Definition at line 57 of file vif_registers.h.
#define VIF1_R2 *(volatile u32 *)0x10003d20 |
Definition at line 58 of file vif_registers.h.
#define VIF1_R3 *(volatile u32 *)0x10003d30 |
Definition at line 59 of file vif_registers.h.
#define VIF1_C0 *(volatile u32 *)0x10003d40 |
Definition at line 60 of file vif_registers.h.
#define VIF1_C1 *(volatile u32 *)0x10003d50 |
Definition at line 61 of file vif_registers.h.
#define VIF1_C2 *(volatile u32 *)0x10003d60 |
Definition at line 62 of file vif_registers.h.
#define VIF1_C3 *(volatile u32 *)0x10003d70 |
Definition at line 63 of file vif_registers.h.
#define VIF_SET_FBRST | ( | RST, | |
FBK, | |||
STP, | |||
STC | |||
) |
Definition at line 65 of file vif_registers.h.
#define VIF_SET_ERR | ( | MII, | |
ME0, | |||
ME1 | |||
) |
Definition at line 69 of file vif_registers.h.
#define VIF_SET_MARK | ( | MARK | ) | (u32)((MARK)&0x0000FFFF) << 0 |
Definition at line 73 of file vif_registers.h.