On Mon, 2007-06-11 at 18:23 +0200, Stefan Reinauer wrote:
The chip driver also interacts with Linux /dev/iomem to reflect the current setting of the optional enables.
I meant to say /proc/iomem here, how about a do-over?
In the kernel you don't have to use /dev/iomem, you can just inb/outb directly (which is what /dev/iomem does)
It should also update the below 1MB (and maybe below 16MB) aliases in /proc/iomem, according to their actual status in the hardware. For example, the K8 northbridge fixed MTRRs could be disabled, rendering any aliasing of the southbridge or LPC/FWH parts moot (from the processor's perspective at least)
How is this thing done today? Is it part of the e820 table? Or does Linux hardcode that area?
Stefan