摘要 |
A method and apparatus is described herein for dynamically allocating resources to root ports. Upon initialization of a system, resources, such as memory space, I/O space, and/or bus numbers are allocated to devices and corresponding windows are assigned to root ports present upstream from those devices. A remaining amount of resources are reserved into a resource pool. When a new device is inserted at runtime, a handler services the insertion notification by assigning an appropriate resource window from the resource pool to the root port upstream from the newly added device. In contrast, upon removal the window of resources are re-assigned back to the resource pool.
|