ReactOS 0.4.16-dev-297-gc569aee
isapnpres.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS ISA PnP Bus driver
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Resource management header file
5 * COPYRIGHT: Copyright 2010 Cameron Gutman <cameron.gutman@reactos.org>
6 * Copyright 2020 Hervé Poussineau <hpoussin@reactos.org>
7 */
8
9#pragma once
10
12#define ISAPNP_MAX_RESOURCEDATA 0x1000
13
14typedef struct _ISAPNP_IO
15{
20
21typedef struct _ISAPNP_IRQ
22{
28
29typedef struct _ISAPNP_DMA
30{
35
36typedef struct _ISAPNP_MEMRANGE
37{
43
44typedef struct _ISAPNP_MEMRANGE32
45{
51
53{
58
59typedef enum
60{
63 dfDone
65
66typedef struct _ISAPNP_RESOURCE
67{
69#define ISAPNP_RESOURCE_TYPE_END 0
70#define ISAPNP_RESOURCE_TYPE_IO 1
71#define ISAPNP_RESOURCE_TYPE_IRQ 2
72#define ISAPNP_RESOURCE_TYPE_DMA 3
73#define ISAPNP_RESOURCE_TYPE_MEMRANGE 4
74#define ISAPNP_RESOURCE_TYPE_MEMRANGE32 5
75#define ISAPNP_RESOURCE_TYPE_START_DEPENDENT 6
76#define ISAPNP_RESOURCE_TYPE_END_DEPENDENT 7
77
78 union
79 {
86 };
88
90{
93
96#define ISAPNP_PRESENT 0x00000001
97
99#define ISAPNP_HAS_MULTIPLE_LOGDEVS 0x00000002
100
102#define ISAPNP_HAS_RESOURCES 0x00000004
103
105#define ISAPNP_HAS_MEM24_DECODER 0x00000008
106
108#define ISAPNP_HAS_MEM32_DECODER 0x00000010
109
130
struct _ISAPNP_LOGICAL_DEVICE * PISAPNP_LOGICAL_DEVICE
struct _ISAPNP_RESOURCE * PISAPNP_RESOURCE
struct _ISAPNP_MEMRANGE ISAPNP_MEMRANGE
struct _ISAPNP_IO ISAPNP_IO
ISAPNP_DEPENDENT_FUNCTION_STATE
Definition: isapnpres.h:60
@ dfDone
Definition: isapnpres.h:63
@ dfStarted
Definition: isapnpres.h:62
@ dfNotStarted
Definition: isapnpres.h:61
struct _ISAPNP_IRQ ISAPNP_IRQ
struct _ISAPNP_IO * PISAPNP_IO
struct _ISAPNP_DMA * PISAPNP_DMA
struct _ISAPNP_COMPATIBLE_ID_ENTRY ISAPNP_COMPATIBLE_ID_ENTRY
struct _ISAPNP_IRQ * PISAPNP_IRQ
struct _ISAPNP_MEMRANGE32 * PISAPNP_MEMRANGE32
struct _ISAPNP_DMA ISAPNP_DMA
struct _ISAPNP_MEMRANGE * PISAPNP_MEMRANGE
struct _ISAPNP_LOGICAL_DEVICE ISAPNP_LOGICAL_DEVICE
struct _ISAPNP_MEMRANGE32 ISAPNP_MEMRANGE32
struct _ISAPNP_RESOURCE ISAPNP_RESOURCE
struct _ISAPNP_COMPATIBLE_ID_ENTRY * PISAPNP_COMPATIBLE_ID_ENTRY
unsigned short USHORT
Definition: pedump.c:61
Definition: isapnpres.h:53
UCHAR VendorId[3]
Definition: isapnpres.h:54
LIST_ENTRY IdLink
Definition: isapnpres.h:56
USHORT ProdId
Definition: isapnpres.h:55
ISAPNP_DMA_DESCRIPTION Description
Definition: isapnpres.h:32
UCHAR CurrentChannel
Definition: isapnpres.h:31
UCHAR Index
Definition: isapnpres.h:33
ISAPNP_IO_DESCRIPTION Description
Definition: isapnpres.h:17
UCHAR Index
Definition: isapnpres.h:18
USHORT CurrentBase
Definition: isapnpres.h:16
ISAPNP_IRQ_DESCRIPTION Description
Definition: isapnpres.h:25
UCHAR CurrentType
Definition: isapnpres.h:24
UCHAR Index
Definition: isapnpres.h:26
UCHAR CurrentNo
Definition: isapnpres.h:23
ISAPNP_DMA Dma[2]
Definition: isapnpres.h:133
LIST_ENTRY CompatibleIdList
Definition: isapnpres.h:129
PDEVICE_OBJECT Pdo
Definition: isapnpres.h:92
ISAPNP_MEMRANGE32 MemRange32[4]
Definition: isapnpres.h:135
ISAPNP_MEMRANGE MemRange[4]
Definition: isapnpres.h:134
ISAPNP_IRQ Irq[2]
Definition: isapnpres.h:132
PISAPNP_RESOURCE Resources
Definition: isapnpres.h:127
LIST_ENTRY DeviceLink
Definition: isapnpres.h:91
ISAPNP_MEMRANGE32_DESCRIPTION Description
Definition: isapnpres.h:48
ULONG CurrentLength
Definition: isapnpres.h:39
ISAPNP_MEMRANGE_DESCRIPTION Description
Definition: isapnpres.h:40
ULONG CurrentBase
Definition: isapnpres.h:38
ISAPNP_MEMRANGE32_DESCRIPTION MemRange32Description
Definition: isapnpres.h:84
ISAPNP_DMA_DESCRIPTION DmaDescription
Definition: isapnpres.h:82
ISAPNP_IRQ_DESCRIPTION IrqDescription
Definition: isapnpres.h:81
ISAPNP_MEMRANGE_DESCRIPTION MemRangeDescription
Definition: isapnpres.h:83
ISAPNP_IO_DESCRIPTION IoDescription
Definition: isapnpres.h:80
Definition: typedefs.h:120
char * PSTR
Definition: typedefs.h:51
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181