Tech Support > Microsoft Windows > Drivers > PCI Express hotplug support
PCI Express hotplug support
Posted by Bill Gage on April 18th, 2008


I am attempting to port a Linux driver to Windows XP, Vista, Servers and
CE. In Linux I preassign PCI bus numbers and either preassign or
dynamically allocate PCI BAR address space and monitor the PCI bus for
the appearance of a new one of my devices. Using these preassigned
resources, I can set up my PCIe bridge and get communications going. I
haven't been able to find any support routines, structures, etc. in the
Windows DDK to help me do this. Is this possible with any version of
Windows?

Posted by Don Burn on April 18th, 2008


I haven't looked at this personally, but Windows assigns the resources to
you not the other way around as Linux does. I believe PCIe requires BIOS
support for hotplug see
http://www.microsoft.com/whdc/connec...tplugpcie.mspx


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"Bill Gage" <"Wild Bill"@newsgroup.nospam> wrote in message
news:OOfQ0VWoIHA.2292@TK2MSFTNGP03.phx.gbl...


Posted by Bill Gage on April 18th, 2008


Don Burn wrote:
the internal resource structures can be changed to reassign the bus
numbers to make room for bridges that may be added. Also, memory
resources may be allocated through system calls and preassigned in
anticipation of a new bridge. When my driver discovers a new bridge, it
assigns the resources it needs, holding back the rest of the
preallocated memory for another bridge. If Windows doesn't make
available these kinds of routines or structures, our Windows customers
will just have to reboot their servers every time they add a new
communication link.

Posted by Doron Holan [MSFT] on April 22nd, 2008


windows has the ability to rebalance the tree upon insertion, this includes
opening up new memory windows to support downlevel bridges. Vista and later
releases are much better at this then previous versions.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Bill Gage" <"Wild Bill"@newsgroup.nospam> wrote in message
news:%23HvXB8XoIHA.672@TK2MSFTNGP02.phx.gbl...


Similar Posts