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

/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c196 memType realBase, alignOff; local
203 alignOff = base - realBase;
209 printf("base: %lx, realBase: %lx, alignOff: %lx \n",
210 base, realBase, alignOff);
219 memBase = mmap((caddr_t)0, realSize + alignOff, prot, mapflags, fdd,
229 return ((char *)memBase + alignOff);
235 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1)); local
237 munmap((caddr_t)((memType)base - alignOff), (size + alignOff));
/solaris-x11-s11/open-src/driver/efb/sun-src/src/
H A Defb_driver.c251 memType realBase, alignOff; local
258 alignOff = base - realBase;
263 printf("base: %lx, realBase: %lx, alignOff: %lx \n",
264 base, realBase, alignOff);
272 memBase = mmap((caddr_t)0, realSize + alignOff, prot, mapflags, fdd,
280 return ((char *)memBase + alignOff);
286 memType alignOff = (memType)base - ((memType)base & ~(getpagesize() - 1)); local
288 printf("alignment offset: %lx\n",alignOff);
289 munmap((caddr_t)((memType)base - alignOff), (size + alignOff));
[all...]

Completed in 12 milliseconds