Re: Setting up MTRRs for 4096MB RAM

H. Peter Anvin (hpa@zytor.com)
Thu, 09 Aug 2001 11:50:56 -0700


Tim Walberg wrote:
> 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)?
>

Yes, power of 2.

-hpa

-
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/