ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Classes | |
struct | _ISAPNP_FDO_EXTENSION |
struct | _ISAPNP_PDO_EXTENSION |
struct | _ISAPNP_CARD_LOGICAL_DEVICE |
struct | _ISAPNP_CARD |
Macros | |
#define | WIN32_NO_STATUS |
#define | UNIT_TEST |
#define | PAGED_CODE() |
#define | CODE_SEG(segment) |
#define | DPRINT(...) do { if (0) { trace(__VA_ARGS__); } } while (0) |
#define | DPRINT1(...) do { if (0) { trace(__VA_ARGS__); } } while (0) |
#define | KeStallExecutionProcessor(MicroSeconds) |
#define | TAG_ISAPNP 'pasI' |
#define | TEST_MAX_SUPPORTED_DEVICES 7 |
#define | expect_resource_list_header(ResourceList, ExpectedIface, ExpectedCount) |
#define | expect_requirements_list_header(ReqList, ExpectedIface, ExpectedCount) |
#define | expect_alt_list_header(AltList, ExpectedCount) |
#define | expect_port_req(Desc, ExpectedOption, ExpectedFlags, ExpectedShare, ExpectedLength, ExpectedAlign, ExpectedMin, ExpectedMax) |
#define | expect_irq_req(Desc, ExpectedOption, ExpectedFlags, ExpectedShare, ExpectedMin, ExpectedMax) |
#define | expect_dma_req(Desc, ExpectedOption, ExpectedFlags, ExpectedShare, ExpectedMin, ExpectedMax) |
#define | expect_mem_req(Desc, ExpectedOption, ExpectedFlags, ExpectedShare, ExpectedLength, ExpectedAlign, ExpectedMin, ExpectedMax) |
#define | expect_cfg_req(Desc, ExpectedOption, ExpectedFlags, ExpectedShare, ExpectedPriority, ExpectedRes1, ExpectedRes2) |
#define | expect_port_res(Desc, ExpectedFlags, ExpectedShare, ExpectedLength, ExpectedStart) |
#define | expect_irq_res(Desc, ExpectedFlags, ExpectedShare, ExpectedLevel, ExpectedVector, ExpectedAffinity) |
#define | expect_dma_res(Desc, ExpectedFlags, ExpectedShare, ExpectedChannel) |
#define | expect_mem_res(Desc, ExpectedFlags, ExpectedShare, ExpectedLength, ExpectedStart) |
Typedefs | |
typedef PVOID | PDEVICE_OBJECT |
typedef struct _ISAPNP_FDO_EXTENSION | ISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_FDO_EXTENSION * | PISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION | ISAPNP_PDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION * | PISAPNP_PDO_EXTENSION |
typedef enum _ISAPNP_STATE | ISAPNP_STATE |
typedef struct _ISAPNP_CARD_LOGICAL_DEVICE | ISAPNP_CARD_LOGICAL_DEVICE |
typedef struct _ISAPNP_CARD_LOGICAL_DEVICE * | PISAPNP_CARD_LOGICAL_DEVICE |
typedef struct _ISAPNP_CARD | ISAPNP_CARD |
typedef struct _ISAPNP_CARD * | PISAPNP_CARD |
Enumerations | |
enum | _ISAPNP_STATE { IsaWaitForKey = 0 , IsaSleep = 1 , IsaIsolation = 2 , IsaConfgure = 3 } |
#define expect_alt_list_header | ( | AltList, | |
ExpectedCount | |||
) |
#define expect_cfg_req | ( | Desc, | |
ExpectedOption, | |||
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedPriority, | |||
ExpectedRes1, | |||
ExpectedRes2 | |||
) |
#define expect_dma_req | ( | Desc, | |
ExpectedOption, | |||
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
#define expect_dma_res | ( | Desc, | |
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedChannel | |||
) |
#define expect_irq_req | ( | Desc, | |
ExpectedOption, | |||
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
#define expect_irq_res | ( | Desc, | |
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedLevel, | |||
ExpectedVector, | |||
ExpectedAffinity | |||
) |
#define expect_mem_req | ( | Desc, | |
ExpectedOption, | |||
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedLength, | |||
ExpectedAlign, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
#define expect_mem_res | ( | Desc, | |
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedLength, | |||
ExpectedStart | |||
) |
#define expect_port_req | ( | Desc, | |
ExpectedOption, | |||
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedLength, | |||
ExpectedAlign, | |||
ExpectedMin, | |||
ExpectedMax | |||
) |
#define expect_port_res | ( | Desc, | |
ExpectedFlags, | |||
ExpectedShare, | |||
ExpectedLength, | |||
ExpectedStart | |||
) |
#define expect_requirements_list_header | ( | ReqList, | |
ExpectedIface, | |||
ExpectedCount | |||
) |
#define expect_resource_list_header | ( | ResourceList, | |
ExpectedIface, | |||
ExpectedCount | |||
) |
typedef struct _ISAPNP_CARD ISAPNP_CARD |
typedef enum _ISAPNP_STATE ISAPNP_STATE |
typedef PVOID PDEVICE_OBJECT |
typedef struct _ISAPNP_CARD * PISAPNP_CARD |
typedef struct _ISAPNP_FDO_EXTENSION * PISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION * PISAPNP_PDO_EXTENSION |
Enumerator | |
---|---|
IsaWaitForKey | |
IsaSleep | |
IsaIsolation | |
IsaConfgure |
Definition at line 100 of file precomp.h.
VOID DrvCreateCard1 | ( | _In_ PISAPNP_CARD | Card | ) |
Definition at line 226 of file res_card.c.
Referenced by DrvCreateCards().
VOID DrvCreateCard2 | ( | _In_ PISAPNP_CARD | Card | ) |
Definition at line 44 of file empty_card.c.
Referenced by DrvCreateCards().
VOID DrvTestCard1Dev1Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 560 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev2Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 660 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev3Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 760 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev4Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 838 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev5Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 970 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev6ConfigurationResult | ( | _In_ PISAPNP_CARD_LOGICAL_DEVICE | LogDev | ) |
Definition at line 1171 of file res_card.c.
Referenced by DrvTestResources().
PCM_RESOURCE_LIST DrvTestCard1Dev6CreateConfigurationResources | ( | VOID | ) |
Definition at line 1260 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev6Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 1162 of file res_card.c.
Referenced by DrvTestResources().
VOID DrvTestCard1Dev7Resources | ( | _In_ PCM_RESOURCE_LIST | ResourceList, |
_In_ PIO_RESOURCE_REQUIREMENTS_LIST | ReqList | ||
) |
Definition at line 1331 of file res_card.c.
Referenced by DrvTestResources().
FORCEINLINE PVOID ExAllocatePoolWithTag | ( | ULONG | PoolType, |
SIZE_T | NumberOfBytes, | ||
ULONG | Tag | ||
) |
Definition at line 31 of file precomp.h.
FORCEINLINE PVOID ExAllocatePoolZero | ( | ULONG | PoolType, |
SIZE_T | NumberOfBytes, | ||
ULONG | Tag | ||
) |
Definition at line 45 of file precomp.h.
Referenced by _Requires_lock_held_(), AllocateItem(), DIB_1BPP_BitBltSrcCopy_From1BPP(), EngpRegisterGraphicsDevice(), FdoHandleQueryCompatibleId(), FontLink_Create(), IntHandlePowerEvent(), IntInitWin32PowerManagement(), IoConnectInterrupt(), IsaPnpCreateLogicalDeviceResources(), IsaPnpCreateReadPortDORequirements(), IsaPnpCreateReadPortDOResources(), IsaReadPortQueryId(), KdbInitialize(), KdpDebugLogInit(), KeStartAllProcessors(), LDEVOBJ_bProbeAndCaptureDevmode(), MDEVOBJ_Create(), MmCreateImageSection(), NtCreatePagingFile(), NtFreeVirtualMemory(), NtGdiGetGlyphOutline(), PartitionHandleDeviceRelations(), PciIdeXPdoQueryResourceRequirements(), PciIdeXPdoQueryResources(), PiCallDriverAddDevice(), PipAllocateDeviceNode(), ScsiPortInitialize(), START_TEST(), and TestIrpHandler().
FORCEINLINE VOID ExFreePoolWithTag | ( | PVOID | MemPtr, |
ULONG | Tag | ||
) |
FORCEINLINE SIZE_T GetPoolAllocSize | ( | PVOID | MemPtr | ) |
VOID IsaBusCreateCard | ( | _Inout_ PISAPNP_CARD | Card, |
_In_ PVOID | PnpRom, | ||
_In_ ULONG | RomSize, | ||
_In_ ULONG | LogicalDevices | ||
) |
Definition at line 439 of file isabus.c.
Referenced by DrvCreateCard1(), and DrvCreateCard2().
Definition at line 480 of file isabus.c.
Definition at line 458 of file isabus.c.