Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 17:58:18 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "David Malone" <dwmalone@maths.tcd.ie>
Cc:        Bernd Walter <ticso@cicely7.cicely.de>, ticso@cicely.de, freebsd-current@freebsd.org
Subject:   Re: MTRR fixup?
Message-ID:  <8cb6106e0809031458k51d9e23byd157bc1608613ec8@mail.gmail.com>
In-Reply-To: <20080903204759.GA4898@walton.maths.tcd.ie>
References:  <20080903034943.GD11548@cicely7.cicely.de> <20080903204759.GA4898@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
> You may be able to fix this by just using the memcontrol command -
> it already lets you program the MTRRs.

Yes, specifically:

memcontrol clear -b 0x... -l 0x....

Where the argument to -b is the first address listed from memcontrol
list, and the -l argument is the second address in the list.

E.g. for my ranges:

0xd0000000/0x10000000 BIOS uncacheable set-by-firmware active
0xe0000000/0x20000000 BIOS uncacheable set-by-firmware active

I used:

memcontrol clear -b 0xd0000000 -l 0x10000000
memcontrol clear -b 0xe0000000 -l 0x20000000

No adverse reaction so far...

Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0809031458k51d9e23byd157bc1608613ec8>