/programs/system/drivers/ati2d/ati2d.c |
---|
1,8 → 1,13 |
#define R300_PIO 0 /* now we have cp */ |
#define R300_PIO 1 |
#define API_VERSION 0x01000100 |
#define SRV_GETVERSION 0 |
#include "types.h" |
#include <stdio.h> |
72,8 → 77,11 |
R5xx2DInit(); |
#if !R300_PIO |
Init3DEngine(&rhd); |
#endif |
retval = RegService("HDRAW", srv_2d); |
dbgprintf("reg service %s as: %x\n", "HDRAW", retval); |
82,11 → 90,6 |
}; |
#define API_VERSION 0x01000100 |
#define SRV_GETVERSION 0 |
int __stdcall srv_2d(ioctl_t *io) |
{ |
u32_t *inp; |