Tech Support > Microsoft Windows > Drivers > Resource Rebalancing
Resource Rebalancing
Posted by AY on June 30th, 2008


We are writing a WDM driver on Windows Server 2008 (64 bit) for our PCI
device. Our device has a 64 bit BAR whose size is a multiple of 32GB. The
BIOS doesn't enable this BAR by default and we'll have to enable it
dynamically by setting a particular bit in the PCI config space. We are doing
this in the AddDevice routine of our driver. Please let me know what is the
procedure to get this BAR recognized by Windows. Will Resource rebalancing
help solve this problem? I know that to intiate the resource rebalancing
sequence, I need to call IoInvalidateDeviceState routine. But where do I call
this routine from? Can somebody please help me solve this problem?


Similar Posts