Page 1 of 1

PCI & Memory Detection

Posted: Sun Jan 14, 2007 4:41 am
by Jim
How do I know from the PCI.BaseMemory if it is an I/O address or a Memory base address??? :?:
:wink: :wink: :wink:
Is it right to say that
IF PCI.BaseMemory[x]>0xFFFF
it is a Memory Base address
ELSE
It is an I/O address

And how I can find out were the memory location ends?:?:

BTW: Is there a way to get free PCI specification???:?:

Posted: Sun Jan 14, 2007 6:15 am
by xsix
to detect if it is MEMORY location or I/O space you need to check afaik the last 2 bits of address. There is a good PCI document on the internet, i've one

Posted: Sun Jan 14, 2007 1:56 pm
by ces_mohab
Recently i started some PCI work. i couldn't find a free PCI 3.0 specifications.
but you can find 2.1 or 2.2.
http://alpha1.dyns.net/files/PCI/pci21.pdf
Also you may need to know some header formats as BRIDGE and CARDBUS headers.
Also this link is a treasure.
http://members.datafast.net.au/dft0802/downloads.htm

:roll:

Posted: Sun Jan 14, 2007 3:23 pm
by Brynet-Inc
http://www.pcisig.com/specifications/conventional/

This seems to contain some documentation on PCI 3.0.. Hope it's useful.