comparison src/video/fbcon/SDL_fbriva.c @ 134:f1550e1c4916

Fix compile riva fb problem on older kernels
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Aug 2001 03:23:40 +0000
parents 5d4bafca35cd
children e8157fcb3114
comparison
equal deleted inserted replaced
133:5d4bafca35cd 134:f1550e1c4916
30 #include "SDL_blit.h" 30 #include "SDL_blit.h"
31 #include "SDL_fbriva.h" 31 #include "SDL_fbriva.h"
32 #include "riva_mmio.h" 32 #include "riva_mmio.h"
33 #include "riva_regs.h" 33 #include "riva_regs.h"
34 34
35 #define PGRAPH_OFFSET 0x00400000
36 #define FIFO_OFFSET 0x00800000
37 #define ROP_OFFSET FIFO_OFFSET+0x00000000
38 #define CLIP_OFFSET FIFO_OFFSET+0x00002000
39 #define PATT_OFFSET FIFO_OFFSET+0x00004000
40 #define PIXMAP_OFFSET FIFO_OFFSET+0x00006000
41 #define BLT_OFFSET FIFO_OFFSET+0x00008000
42 #define BITMAP_OFFSET FIFO_OFFSET+0x0000A000
43 #define LINE_OFFSET FIFO_OFFSET+0x0000C000
44 #define TRI03_OFFSET FIFO_OFFSET+0x0000E000
45 #define PCIO_OFFSET 0x00601000
46 35
47 static int FifoEmptyCount = 0; 36 static int FifoEmptyCount = 0;
48 static int FifoFreeCount = 0; 37 static int FifoFreeCount = 0;
49 38
50 /* Wait for vertical retrace */ 39 /* Wait for vertical retrace */