Timo Kreuzer
d29802813d
- Add PMDLX
...
- MmProbeAndLockProcessPages is win2k, not XP
- update CM_PARTIAL_RESOURCE_DESCRIPTOR
- comment out some ExInterlocked functions for x86
svn path=/branches/header-work/; revision=45905
2010-03-06 02:21:20 +00:00
Timo Kreuzer
3416602d2f
[WDM]
...
- KPROCESSOR_MODE is CCHAR
- add PF_XSAVE_ENABLED, SEC_COMMIT
- KeSaveFloatingPointState and KeRestoreFloatingPointState are x86 only
svn path=/branches/header-work/; revision=45904
2010-03-06 01:07:32 +00:00
Amine Khaldi
5748c28965
- Remove ntddk include from ntoskrnl.h
...
- NTIFS : tagTOKEN_TYPE -> _TOKEN_TYPE
- Remove redundant MmFlushImageSection definition from winddk
- Add _BUS_HANDLER struct forwarder
- Guard ifssupp.h with #ifndef _NTIFS_ condition
- Add WAIT_TYPE, LOGICAL and PLOGICAL definitions to ntdef.h and get rid of the incorrect ones in winddk.h
- Group related *_POWER_* definitions
- Move PKSYNCHRONIZE_ROUTINE and POOL_TYPE to the kernel types section
- PDEVICE_OBJECT DeviceObject -> struct _DEVICE_OBJECT *DeviceObject in some cases
- PIRP Irp -> struct _IRP *Irp in some cases
svn path=/branches/header-work/; revision=45903
2010-03-06 00:59:29 +00:00
Amine Khaldi
9a06fb6a0d
[NTIFS]
...
- Group related definitions
- Correct ACCESS_MAX_MS_V5_ACE_TYPE definition
- Add SYSTEM_MANDATORY_LABEL_ACE_TYPE, SUCCESSFUL_ACCESS_ACE_FLAG, FAILED_ACCESS_ACE_FLAG, SYSTEM_MANDATORY_LABEL_NO_WRITE_UP, SYSTEM_MANDATORY_LABEL_NO_READ_UP, SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP and SYSTEM_MANDATORY_LABEL_VALID_MASK definitions
svn path=/branches/header-work/; revision=45902
2010-03-05 23:11:56 +00:00
Amine Khaldi
01815bddf0
[NTIFS]
...
- Group related definitions
- Add SID_AND_ATTRIBUTES_HASH struct
- Add SID_HASH_SIZE, SID_HASH_ENTRY, *PSID_HASH_ENTRY, SECURITY_LOCAL_LOGON_RID, SECURITY_CRED_TYPE_BASE_RID, SECURITY_CRED_TYPE_RID_COUNT, SECURITY_CRED_TYPE_THIS_ORG_CERT_RID, SECURITY_USERMODEDRIVERHOST_ID_BASE_RID, SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT, SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID, SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT, SECURITY_WMIHOST_ID_BASE_RID, SECURITY_WMIHOST_ID_RID_COUNT, SECURITY_TASK_ID_BASE_RID, SECURITY_NFS_ID_BASE_RID, SECURITY_COM_ID_BASE_RID, SECURITY_VIRTUALACCOUNT_ID_RID_COUNT and SECURITY_WINDOWSMOBILE_ID_BASE_RID definitions
svn path=/branches/header-work/; revision=45900
2010-03-05 22:51:28 +00:00
Timo Kreuzer
7bf74e86d2
add _WDMDDK_ include guard
...
svn path=/branches/header-work/; revision=45899
2010-03-05 22:50:11 +00:00
Amine Khaldi
6f5be9aba2
[NTIFS]
...
- Introduce #pragma once
- Add missing includes
- Add some struct forwarders
- Add PsGetCurrentProcess, KeNumberProcessors, LSA_UNICODE_STRING, *PLSA_UNICODE_STRING, LSA_OBJECT_ATTRIBUTES and *PLSA_OBJECT_ATTRIBUTES definitions
- Add SID_NAME_USE enum
- Group related definitions
svn path=/branches/header-work/; revision=45898
2010-03-05 22:36:10 +00:00
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