Re: Re: xfree86 4.5 cross compilation
"Daniel(解利军)" <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Tim Roberts, >What??? PAGE_MASK should equal the size of a physical memory page in >bytes, minus one. It varies based on the processor, but on most of the >systems where Linux runs, PAGE_MASK should be 0xfff (4095 decimal) > >-- >Tim Roberts, [email protected] >Providenza & Boekelheide, Inc. If I do not remember wrongly, PAGE_MASK is definded as ~(PAGE_SIZE-1). It's the high bits of memory that defines the page address and ignores offset in pages. So in a 4k pagesize system as default, PAGE_MASK = ~0xfff, not 0xfff. = = = = = = = = = = = = = = = = = = = = Daniel(解利军) CESC Lab, Zhejiang University 2005-12-29