Commit graph

40997 commits

Author SHA1 Message Date
Amine Khaldi
142386dd70 - Move MMFLUSH_TYPE enum from winddk.h to ntifs.h
- Remove redundant definitions from winddk.h : ObInsertObject, ObMakeTemporaryObject, ObOpenObjectByPointer, ObQueryObjectAuditingByHandle, ZwDeviceIoControlFile and ZwWaitForSingleObject
- ObInsertObject : AdditionalReferences -> ObjectPointerBias and ReferencedObject -> NewObject

Happy birthday Andy ! :)

svn path=/branches/header-work/; revision=45897
2010-03-05 21:51:34 +00:00
Amine Khaldi
3dab427010 HalFreeCommonBuffer and HalReadDmaCounter :
- Move them from winddk.h to wdm.h and make them inline functions
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

svn path=/branches/header-work/; revision=45896
2010-03-05 21:03:42 +00:00
Amine Khaldi
76bb478173 HalAllocateCommonBuffer :
- Move it from winddk.h to wdm.h and make it an inline function
- NTHALAPI -> FORCEINLINE
- PADAPTER_OBJECT  AdapterObject -> PDMA_ADAPTER DmaAdapter

svn path=/branches/header-work/; revision=45895
2010-03-05 20:57:21 +00:00
Amine Khaldi
b7de91f3bf - Move more stuff to wdm.h
- Add NTAPI back to some Io* definitions
- Remove some redundant Io* definitions

svn path=/branches/header-work/; revision=45894
2010-03-05 20:40:37 +00:00
Amine Khaldi
f7910da58e - Move more stuff to wdm.h
- DbgPrint(Ex) : PCCH  Format -> PCSTR  Format
- Add NTSYSAPI to vDbgPrintEx(WithPrefix)
- DbgPrintReturnControlC and Dbg{Set,Query}DebugFilterState : NTKERNELAPI -> NTSYSAPI
- Add vKdPrintExWithPrefix definition
- Improve the conditions around KdDebuggerEnabled and KdDebuggerNotPresent definitions

svn path=/branches/header-work/; revision=45890
2010-03-05 19:56:44 +00:00
Amine Khaldi
775b7007f8 - Move more stuff to wdm.h
- Improve more Po* and Zw* definitions

svn path=/branches/header-work/; revision=45888
2010-03-05 18:56:48 +00:00
Amine Khaldi
d1a7b6136c - Move more stuff to wdm.h
- Improve more Ps* and Se* definitions

svn path=/branches/header-work/; revision=45877
2010-03-05 18:20:08 +00:00
Amine Khaldi
a8a908e214 - Move more stuff to wdm.h
- Improve more Ob* definitions

svn path=/branches/header-work/; revision=45876
2010-03-05 18:06:58 +00:00
Amine Khaldi
ce32e52bfc - Move more stuff to wdm.h
- Improve more Mm* definitions

svn path=/branches/header-work/; revision=45875
2010-03-05 17:41:41 +00:00
Amine Khaldi
42fde03fe1 - Move more stuff to wdm.h
- Improve more Ke* definitions

svn path=/branches/header-work/; revision=45871
2010-03-05 16:18:23 +00:00
Amine Khaldi
2c852bf801 More work on USB related definitions
svn path=/branches/header-work/; revision=45870
2010-03-05 13:32:58 +00:00
Amine Khaldi
e488e6e43c More work on USB related definitions
svn path=/branches/header-work/; revision=45867
2010-03-05 12:25:38 +00:00
Amine Khaldi
78a63975f8 More work on USB related definitions
svn path=/branches/header-work/; revision=45866
2010-03-05 12:07:35 +00:00
Amine Khaldi
749428da20 More work on USB related definitions
svn path=/branches/header-work/; revision=45865
2010-03-05 11:58:34 +00:00
Amine Khaldi
73cc29ce32 More work on USB related definitions
svn path=/branches/header-work/; revision=45864
2010-03-05 11:44:11 +00:00
Amine Khaldi
97e7fd6cb6 More work on USB related definitions
svn path=/branches/header-work/; revision=45863
2010-03-05 11:12:29 +00:00
Amine Khaldi
a7ffadade2 More work on USB related definitions
svn path=/branches/header-work/; revision=45861
2010-03-05 09:56:28 +00:00
Timo Kreuzer
c76dfd5cb8 - Convert the members of PCI_COMMON_HEADER into a #define to avoid inheritance on C++, which would render the type a non-POD, causing compilation errors.
- IoInitializeDpcRequest expects PIO_DPC_ROUTINE as 2nd parameter, fix callers.
- While FILE_CHARACTERISTIC_PNP_DEVICE is defined in the DDK/WDK, _SYSTEM_INFORMATION_CLASS is not, fix include guards in ntddk_ex.h
- add InterlockedBitTestAndSet64 and InterlockedBitTestAndReset64 for amd64
- Fix definition of NLS_MB_CODE_PAGE_TAG for gcc
- Fix parameters of DMA inline functions
- remove duplicate IoAllocateAdapterChannel
- Everything compiles again -> Amine, your turn :)

svn path=/branches/header-work/; revision=45858
2010-03-05 04:03:34 +00:00
Amine Khaldi
7ff52a15bf More work on USB related definitions
svn path=/branches/header-work/; revision=45856
2010-03-05 01:12:11 +00:00
Amine Khaldi
9605671f96 More work on USB related definitions
svn path=/branches/header-work/; revision=45854
2010-03-05 01:07:08 +00:00
Amine Khaldi
846448c7ab More work on USB related definitions
svn path=/branches/header-work/; revision=45853
2010-03-05 00:54:36 +00:00
Timo Kreuzer
0651773e46 Fix TdiBuildBaseIrp by adding the missing ;
svn path=/branches/header-work/; revision=45852
2010-03-05 00:34:26 +00:00
Timo Kreuzer
9a46e3d7d6 add back missing IoAllocateAdapterChannel
svn path=/branches/header-work/; revision=45851
2010-03-05 00:31:37 +00:00
Amine Khaldi
4a9a65ab2a More work on USB related definitions
svn path=/branches/header-work/; revision=45850
2010-03-05 00:15:36 +00:00
Amine Khaldi
1ff2c4916b More work on USB related definitions
svn path=/branches/header-work/; revision=45849
2010-03-05 00:08:17 +00:00
Amine Khaldi
19adca9597 More work on USB related definitions
svn path=/branches/header-work/; revision=45848
2010-03-04 23:57:29 +00:00
Amine Khaldi
5fbb30c493 More work on USB related definitions
svn path=/branches/header-work/; revision=45846
2010-03-04 22:58:41 +00:00
Timo Kreuzer
dc0ed8a742 A bit more cleanup and sorting
svn path=/branches/header-work/; revision=45818
2010-03-03 23:48:30 +00:00
Timo Kreuzer
38322160da - sort wdm.h a bit more
- add missing NTAPI
- move TIMER_TYPE to ntdef.h
- remove duplicate port and register functions
- add volatile keyword where appropriate to register access inline functions
- Use result variable in IoGetRemainingStackSize inline function to avoid a warning

svn path=/branches/header-work/; revision=45816
2010-03-03 23:02:02 +00:00
Timo Kreuzer
c621463e40 revert change to IoCreateFile
svn path=/branches/header-work/; revision=45813
2010-03-03 22:48:21 +00:00
Amine Khaldi
a8a844c5e5 - Move more stuff to wdm.h
- Improve more Io* and Ke* definitions

svn path=/branches/header-work/; revision=45807
2010-03-03 21:06:23 +00:00
Amine Khaldi
1f96c47edf - Move more stuff to wdm.h
- Improve more Io* definitions
- Convert IoSetCompletionRoutine, IoSetNextIrpStackLocation and IoSkipCurrentIrpStackLocation to inline functions

svn path=/branches/header-work/; revision=45796
2010-03-03 19:24:25 +00:00
Amine Khaldi
60f9f52f92 - Move more stuff to wdm.h
- Improve IoIs32bitProcess and more Io* definitions
- Convert IoMarkIrpPending to an inline function- Move more stuff to wdm.h

svn path=/branches/header-work/; revision=45795
2010-03-03 18:30:50 +00:00
Amine Khaldi
6c5abe74d3 - Move more stuff to wdm.h
- Improve more Io* definitions
- Fix KeInitializeDpc
- IoCreateFile and everywhere related : ExtraCreateParameters -> InternalParameters
- IoQueueWorkItem and everywhere related : Routine -> WorkerRoutine and pIoWorkItem -> IoWorkItem

svn path=/branches/header-work/; revision=45794
2010-03-03 18:01:23 +00:00
Amine Khaldi
e4fb241c6b - Move more stuff to wdm.h
- Improve IoAcquireRemoveLock(EX) and several Io*
- Convert some macros to inline functions

svn path=/branches/header-work/; revision=45793
2010-03-03 16:55:25 +00:00
Amine Khaldi
d944603372 - Move ntdef.h from ddk to psdk
- Move EVENT_TYPE to ntdef.h
- Introduce pragma once to wdm.h
- Fix FAST_MUTEX
- FastMutex->Gate => FastMutex->Event
- Improve KeInitializeEvent
- Improve InitializeSListHead

svn path=/branches/header-work/; revision=45789
2010-03-03 16:03:14 +00:00
Timo Kreuzer
243e8910fa Fix some pshpack / poppack includes
svn path=/branches/header-work/; revision=45788
2010-03-03 13:38:45 +00:00
Amine Khaldi
7a1c60b909 - Move more stuff to wdm.h
- Improve PAGED_CODE, ProbeFor{Read,Write} and Cm(UN)RegisterCallback
- Group some related definitions.


svn path=/branches/header-work/; revision=45787
2010-03-03 13:33:58 +00:00
Amine Khaldi
f9ac88867c - Move more stuff to wdm.h
- Fix/Improve InitializeSListHead
- Convert some macros into inline functions

svn path=/branches/header-work/; revision=45786
2010-03-03 13:02:26 +00:00
Amine Khaldi
7c79de7f48 - Move more stuff to wdm.h
- Fix RTL_VERIFYMSG
- Improve NLS_MB_CODE_PAGE_TAG and NLS_MB_OEM_CODE_PAGE_TAG
- Fix/Improve some RTL and Guarded Mutex routines

svn path=/branches/header-work/; revision=45785
2010-03-03 12:39:52 +00:00
Amine Khaldi
3906d78bd2 Add several missing USB related definitions
svn path=/branches/header-work/; revision=45783
2010-03-03 11:42:20 +00:00
Amine Khaldi
db8a0b34de - Move more stuff to wdm.h
- Add missing MM_ALLOCATE_* definitions
- Improve KeTryToAcquireSpinLockAtDpcLevel and KeTestSpinLock
- Fix a typo in BYTES_TO_PAGES definition
- Remove a useless #if block
- Add missing ntddk.h include in ntoskrnl.h

svn path=/branches/header-work/; revision=45782
2010-03-03 11:38:57 +00:00
Amine Khaldi
f6682d44d2 - Move more stuff to wdm.h
- Fix XMM_SAVE_AREA32
- Fix *PFN_* definitions

svn path=/branches/header-work/; revision=45758
2010-03-02 16:14:22 +00:00
Amine Khaldi
8eb606c117 - Move more stuff to wdm.h
- Improve Interrupt Request Level definitions
- KeGetCurrentIrql : DDKAPI -> NTAPI
- KeGetCurrentThread : Fix the definition, remove a redundant one and NTKERNELAPI -> NTSYSAPI

svn path=/branches/header-work/; revision=45757
2010-03-02 15:49:27 +00:00
Amine Khaldi
7e19d52e3d - Move more stuff to wdm.h
- Fix REG_SET_VALUE_KEY_INFORMATION, REG_DELETE_VALUE_KEY_INFORMATION, REG_SET_INFORMATION_KEY_INFORMATION,  REG_ENUMERATE_KEY_INFORMATION, REG_ENUMERATE_VALUE_KEY_INFORMATION, REG_PRE_CREATE_KEY_INFORMATION, 
REG_POST_CREATE_KEY_INFORMATION, REG_POST_OPERATION_INFORMATION and REG_KEY_HANDLE_CLOSE_INFORMATION definitions.

svn path=/branches/header-work/; revision=45756
2010-03-02 14:53:28 +00:00
Amine Khaldi
144f595dde - Move more stuff to wdm.h
- Group some related definitions
- Add missing TRACE_INFORMATION_CLASS members
- Improve REG_NOTIFY_CLASS
- Fix REG_DELETE_KEY_INFORMATION

svn path=/branches/header-work/; revision=45755
2010-03-02 14:32:50 +00:00
Amine Khaldi
74f31b099a - Move more stuff to wdm.h
- Fix KBUGCHECK_CALLBACK_REASON
- Add missing KDPC_IMPORTANCE member

svn path=/branches/header-work/; revision=45751
2010-03-01 21:46:34 +00:00
Amine Khaldi
5bf6e1937a - Move more stuff to wdm.h
- Add _PCI_COMMON_HEADER
- Improve _PCI_COMMON_CONFIG
- Enable msc extensions

svn path=/branches/header-work/; revision=45750
2010-03-01 21:24:36 +00:00
Amine Khaldi
706a8e639a - Move more stuff to wdm.h
- Improve KWAIT_REASON
- Group related definitions

svn path=/branches/header-work/; revision=45745
2010-03-01 14:32:44 +00:00
Amine Khaldi
15be67bafc - Move more stuff to wdm.h
- Add PCI_DISABLE_LEVEL_INTERRUPT, PCI_STATUS_DETECTED_PARITY_ERROR, PCI_SUBCLASS_NET_ISDN_CTLR, PCI_SUBCLASS_BR_RACEWAY and several missing PCI_CLASS_* definitions

svn path=/branches/header-work/; revision=45744
2010-03-01 14:15:43 +00:00