Page 1 of 1

How to calculate the Base Address in the PCI header

Posted: Mon Jan 29, 2007 1:46 pm
by Jim
How to calculate the BASE address???

:roll: :roll: :roll:
This is an example of a base address that I calculated:
I/O Address =0xD1D0 Length=0xE10
MEMORY =0xFEA0FEA0 (32-bit) Length=0xF0010
I/O Address =0xF000 Length=0x10
:roll: :roll: :roll:
But when I use SoftIce (or Craig Hart's PCI+AGP bus stiffer) to get information about the PCI it tells me like this:
I/O Port Range Passed to Secondary Bus : 0000D000h to 0000DFFFh (32-bit)
Memory Range Passed to Secondary Bus : FEA00000h to FEAFFFFFh
:roll: :roll: :roll:
So it seems that I am not calculating something right. Can any one help how to calculate it?
(It seems that the results of my calculation are very close to the results of SoftIce.

Posted: Tue Feb 06, 2007 10:54 am
by flash
it seems that you didn't get the correct data from the config space.