mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:15:47 +00:00
- Define IoReleaseRemoveLock.
- Fix definiton of IoReleaseRemoveLockAndWait. svn path=/trunk/; revision=11465
This commit is contained in:
parent
8c57ab6af9
commit
497ef5e058
1 changed files with 52 additions and 42 deletions
|
@ -2962,47 +2962,47 @@ typedef struct _PCI_COMMON_CONFIG {
|
||||||
UCHAR MinimumGrant;
|
UCHAR MinimumGrant;
|
||||||
UCHAR MaximumLatency;
|
UCHAR MaximumLatency;
|
||||||
} type0;
|
} type0;
|
||||||
struct _PCI_HEADER_TYPE_1 {
|
struct _PCI_HEADER_TYPE_1 {
|
||||||
ULONG BaseAddresses[PCI_TYPE1_ADDRESSES];
|
ULONG BaseAddresses[PCI_TYPE1_ADDRESSES];
|
||||||
UCHAR PrimaryBus;
|
UCHAR PrimaryBus;
|
||||||
UCHAR SecondaryBus;
|
UCHAR SecondaryBus;
|
||||||
UCHAR SubordinateBus;
|
UCHAR SubordinateBus;
|
||||||
UCHAR SecondaryLatency;
|
UCHAR SecondaryLatency;
|
||||||
UCHAR IOBase;
|
UCHAR IOBase;
|
||||||
UCHAR IOLimit;
|
UCHAR IOLimit;
|
||||||
USHORT SecondaryStatus;
|
USHORT SecondaryStatus;
|
||||||
USHORT MemoryBase;
|
USHORT MemoryBase;
|
||||||
USHORT MemoryLimit;
|
USHORT MemoryLimit;
|
||||||
USHORT PrefetchBase;
|
USHORT PrefetchBase;
|
||||||
USHORT PrefetchLimit;
|
USHORT PrefetchLimit;
|
||||||
ULONG PrefetchBaseUpper32;
|
ULONG PrefetchBaseUpper32;
|
||||||
ULONG PrefetchLimitUpper32;
|
ULONG PrefetchLimitUpper32;
|
||||||
USHORT IOBaseUpper16;
|
USHORT IOBaseUpper16;
|
||||||
USHORT IOLimitUpper16;
|
USHORT IOLimitUpper16;
|
||||||
UCHAR CapabilitiesPtr;
|
UCHAR CapabilitiesPtr;
|
||||||
UCHAR Reserved1[3];
|
UCHAR Reserved1[3];
|
||||||
ULONG ROMBaseAddress;
|
ULONG ROMBaseAddress;
|
||||||
UCHAR InterruptLine;
|
UCHAR InterruptLine;
|
||||||
UCHAR InterruptPin;
|
UCHAR InterruptPin;
|
||||||
USHORT BridgeControl;
|
USHORT BridgeControl;
|
||||||
} type1;
|
} type1;
|
||||||
struct _PCI_HEADER_TYPE_2 {
|
struct _PCI_HEADER_TYPE_2 {
|
||||||
ULONG SocketRegistersBaseAddress;
|
ULONG SocketRegistersBaseAddress;
|
||||||
UCHAR CapabilitiesPtr;
|
UCHAR CapabilitiesPtr;
|
||||||
UCHAR Reserved;
|
UCHAR Reserved;
|
||||||
USHORT SecondaryStatus;
|
USHORT SecondaryStatus;
|
||||||
UCHAR PrimaryBus;
|
UCHAR PrimaryBus;
|
||||||
UCHAR SecondaryBus;
|
UCHAR SecondaryBus;
|
||||||
UCHAR SubordinateBus;
|
UCHAR SubordinateBus;
|
||||||
UCHAR SecondaryLatency;
|
UCHAR SecondaryLatency;
|
||||||
struct {
|
struct {
|
||||||
ULONG Base;
|
ULONG Base;
|
||||||
ULONG Limit;
|
ULONG Limit;
|
||||||
} Range[PCI_TYPE2_ADDRESSES - 1];
|
} Range[PCI_TYPE2_ADDRESSES - 1];
|
||||||
UCHAR InterruptLine;
|
UCHAR InterruptLine;
|
||||||
UCHAR InterruptPin;
|
UCHAR InterruptPin;
|
||||||
USHORT BridgeControl;
|
USHORT BridgeControl;
|
||||||
} type2;
|
} type2;
|
||||||
} u;
|
} u;
|
||||||
UCHAR DeviceSpecific[192];
|
UCHAR DeviceSpecific[192];
|
||||||
} PCI_COMMON_CONFIG, *PPCI_COMMON_CONFIG;
|
} PCI_COMMON_CONFIG, *PPCI_COMMON_CONFIG;
|
||||||
|
@ -6809,6 +6809,16 @@ IoReleaseRemoveLockEx(
|
||||||
IN PVOID Tag,
|
IN PVOID Tag,
|
||||||
IN ULONG RemlockSize);
|
IN ULONG RemlockSize);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* VOID
|
||||||
|
* IoReleaseRemoveLock(
|
||||||
|
* IN PIO_REMOVE_LOCK RemoveLock,
|
||||||
|
* IN PVOID Tag)
|
||||||
|
*/
|
||||||
|
#define IoReleaseRemoveLock(_RemoveLock, \
|
||||||
|
_Tag) \
|
||||||
|
IoReleaseRemoveLockEx(_RemoveLock, _Tag, sizeof(IO_REMOVE_LOCK))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* VOID
|
* VOID
|
||||||
* IoReleaseRemoveLockAndWait(
|
* IoReleaseRemoveLockAndWait(
|
||||||
|
@ -6817,7 +6827,7 @@ IoReleaseRemoveLockEx(
|
||||||
*/
|
*/
|
||||||
#define IoReleaseRemoveLockAndWait(_RemoveLock, \
|
#define IoReleaseRemoveLockAndWait(_RemoveLock, \
|
||||||
_Tag) \
|
_Tag) \
|
||||||
IoReleaseRemoveLockEx(_RemoveLock, _Tag, sizeof(IO_REMOVE_LOCK))
|
IoReleaseRemoveLockAndWaitEx(_RemoveLock, _Tag, sizeof(IO_REMOVE_LOCK))
|
||||||
|
|
||||||
NTOSAPI
|
NTOSAPI
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue