Re: Setting up MTRRs for 4096MB RAM

From: Tim Walberg (twalberg@mindspring.com)
Date: Thu Aug 09 2001 - 13:06:41 EST


On 08/09/2001 10:53 -0700, H. Peter Anvin wrote:
>>
>> Intel MTRRs have to be a multiple of 2, so you'd need 2 MTRRs if you
>> wanted to cover 3 GB. 0x80000000 is a multiple of 2; 0xC0000000
>> isn't, and 0xFFFFFFFF definitely isn't, although 0x100000000 is.

Since when? Seems to me bit 0 of 0xC0000000 is 0, therefore it is
a multiple of two. Perhaps you meant "power of 2" (i.e. only one bit
set in the binary representation)?

                        tw

-- 
twalberg@mindspring.com


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:27 EST