Searched defs:alignOff (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s12/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c195 memType realBase, alignOff; local
202 alignOff = base - realBase;
208 printf("base: %lx, realBase: %lx, alignOff: %lx \n",
209 base, realBase, alignOff);
212 memBase = mmap((caddr_t)0, realSize + alignOff, PROT_READ | PROT_WRITE, mapflags, fdd,
222 return ((char *)memBase + alignOff);
228 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1)); local
230 munmap((caddr_t)((memType)base - alignOff), (size + alignOff));

Completed in 10 milliseconds