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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.