SONE Takeshi ts1@cma.co.jp writes:
On Mon, Apr 28, 2003 at 01:55:16PM -0600, Eric W. Biederman wrote:
Steve Gehlbach steve@nexpath.com writes:
Eric W. Biederman wrote:
``Write Protect'' in the mtrrs does not mean write protected. It is a
strange
messed up form of write-through. In particular it dumps the cache on
writes
it does not forbid writes. Unless you know of a situation where write protect is more appropriate
please
use write-through. It is less confusing, and since no one is writing to
that
area anyway it gives the exact same result, reads are cached. Eric
So why did you use WP cache for "XIP" area? Using same type for both area makes sense.
Yep. Good catch. It looks like the XIP area needs to be fixed as well.
Actually now that I think about it, is there any reason to not use XIP infrastructure for running the rom at 0xf000 as well as at higher addresses? Sure it's a waste but we have mtrr registers to burn at that point.
Eric