|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include <pci.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | PCI_RANGE_FIXED_PLACEMENT 0x04 |
Variables | |
| PCHAR | PciArbiterNames [] |
| #define NDEBUG |
Definition at line 13 of file arb_comn.c.
| #define PCI_RANGE_FIXED_PLACEMENT 0x04 |
Definition at line 19 of file arb_comn.c.
Definition at line 191 of file arb_comn.c.
Referenced by PciArbiterConstructor().
| BOOLEAN NTAPI PciArbiter_FindSuitableRange | ( | _In_ PARBITER_INSTANCE | Arbiter, |
| _Inout_ PARBITER_ALLOCATION_STATE | State | ||
| ) |
Searches for a placement, remembering on the range whether it came from a fixed alternative.
| [in] | Arbiter | The arbiter instance placing the entry. |
| [in,out] | State | The allocation state of the entry. |
Definition at line 97 of file arb_comn.c.
Referenced by ario_Initializer(), and armem_Initializer().
| BOOLEAN NTAPI PciArbiter_OverrideConflict | ( | _In_ PARBITER_INSTANCE | Arbiter, |
| _Inout_ PARBITER_ALLOCATION_STATE | State | ||
| ) |
Lets a fixed requirement overlap ranges its own device was given by other fixed requirements.
| [in] | Arbiter | The arbiter instance placing the entry. |
| [in,out] | State | The allocation state of the entry. On success Start and End receive the requested window. |
Definition at line 136 of file arb_comn.c.
Referenced by ario_Initializer(), and armem_Initializer().
| NTSTATUS NTAPI PciArbiter_PreprocessEntry | ( | _In_ PARBITER_INSTANCE | Arbiter, |
| _Inout_ PARBITER_ALLOCATION_STATE | State | ||
| ) |
Sets the range attributes of one arbitration entry before the engine looks for a placement for it.
| [in] | Arbiter | The arbiter instance placing the entry. |
| [in,out] | State | The allocation state of the entry. |
Definition at line 51 of file arb_comn.c.
Referenced by arbusno_Initializer(), ario_Initializer(), and armem_Initializer().
| NTSTATUS NTAPI PciArbiterConstructor | ( | _In_ PPCI_FDO_EXTENSION | FdoExtension, |
| _In_ PCI_SIGNATURE | ArbiterType, | ||
| _Out_ PARBITER_INTERFACE | Interface | ||
| ) |
Definition at line 200 of file arb_comn.c.
Referenced by arbusno_Constructor(), ario_Constructor(), and armem_Constructor().
| VOID NTAPI PciArbiterDestructor | ( | IN PPCI_ARBITER_INSTANCE | Arbiter | ) |
Definition at line 233 of file arb_comn.c.
Referenced by PciInitializeArbiters().
|
static |
Builds a resource list of the ranges a PCI-to-PCI bridge forwards to its secondary bus.
| [in] | BridgeExtension | The PDO extension of a positive decode bridge. |
Definition at line 343 of file arb_comn.c.
Referenced by PciInitializeArbiterRanges().
Tells whether a resource list holds any range of one resource type.
| [in] | RangeList | A resource list with a single full descriptor. |
| [in] | Type | The CmResourceType to look for. |
Definition at line 423 of file arb_comn.c.
Referenced by PciInitializeArbiterRanges().
| NTSTATUS NTAPI PciInitializeArbiterRanges | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCM_RESOURCE_LIST | Resources | ||
| ) |
Definition at line 447 of file arb_comn.c.
Referenced by PciFdoIrpStartDevice().
| NTSTATUS NTAPI PciInitializeArbiters | ( | IN PPCI_FDO_EXTENSION | FdoExtension | ) |
Definition at line 242 of file arb_comn.c.
Referenced by PciAddDevice().
| PCHAR PciArbiterNames[] |
Definition at line 21 of file arb_comn.c.
Referenced by PciArbiterConstructor(), PciInitializeArbiterRanges(), and PciInitializeArbiters().