On 28.05.2009 18:23 Uhr, Myles Watson wrote:
2. Kontron will break because I removed its special case from the resource
allocator. I think with the new resource allocator it will be easy to fix,
but I'd like a Kontron tester.
I'll be glad to test... Can you suggest a fix or give a pointer on how
to fix this? If we can get rid of the PCIe hole handling hack, I'm all
for checking this in.
I think there are a couple of possible fixes depending on what the
real problem is.
If the problem is that it needs to be at a fixed address, allocate it
at the top (as high as you can before the IOAPIC) of the address
space, and mark it fixed.
It's basically really just a fixed address memory space of a certain
fixed size that needs to be kept free by the resource allocator, very
similar to the way it needs to be done for the IOAPIC and Local APIC.
Since the PCIe BAR is part of the northbridge, I tried to tell the
resource allocator to do this in the northbridge.c code, but I couldn't
seem to figure out a way to make the (old) allocator honor it.
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: email@example.com • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866