XF86DGA2.c | 759 unsigned char *virtual; member in struct:_DGAMapRec 781 pntr = pMap->virtual; 888 if ((pMap->virtual = (void *)ioctl(pMap->fd, MAP, &mloc)) == (void *)-1) 919 pMap->virtual = dmap.a.user; 925 pMap->virtual = smem_create("XF86DGA", (char*)base, size, SM_READ|SM_WRITE); 948 /* Warning: On PPC, the size and virtual need to be offset by: 958 pMap->virtual = mmap(NULL, size, PROT_READ | PROT_WRITE, 960 if (pMap->virtual == (void *)-1) 966 mprotect(pMap->virtual, size, PROT_READ | PROT_WRITE); 979 mprotect(pMap->virtual,pMap->size, PROT_READ) [all...] |