Commit graph

11 commits

Author SHA1 Message Date
Amine Khaldi a00acb2a1b Sync with trunk head
svn path=/branches/header-work/; revision=46021
2010-03-09 00:19:55 +00:00
Timo Kreuzer 31638dffc7 [NTOS]
IofCompleteRequest: Skip the stack location at the beginning of the loop instead of before and at the end to avoid double skipping of the last valid stack location in certain cases. This prevents the ASSERT in IoSkipCurrentIrpStackLocation to be hit. Note: this leads to a different value of Irp->CurrentLocation and Irp->Tail.Overlay.CurrentStackLocation after the last completion routine has been called. But that should hopefully not make a difference.

svn path=/branches/header-work/; revision=45996
2010-03-08 04:58:49 +00:00
Timo Kreuzer b832dcf394 revert the change to ProbeForRead
svn path=/branches/header-work/; revision=45972
2010-03-07 03:44:18 +00:00
Timo Kreuzer 92474b296d [NTOS]
- use NTDDI_VERSION 0x05020400 (2k3, SP4)
- fix ProbeForRead parameters
- remove a hack

svn path=/branches/header-work/; revision=45971
2010-03-07 02:55:13 +00:00
Timo Kreuzer 26d4a0c37d - globally disable warnings for char array subscripts
- include ntifs.h in bootvid, kdcom, ramdisk, freeldr
- define SINGLE_GROUP_LEGACY_API for the kernel
- Add back missing prototypes: IoFreeAdapterChannel, IoMapTransfer, IoFlushAdapterBuffers, IoFreeMapRegisters, HalAllocateCommonBuffer, HalFreeCommonBuffer, HalReadDmaCounter
- add missing NTAPI to KeQueryActiveProcessors

svn path=/branches/header-work/; revision=45961
2010-03-06 18:55:27 +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
Timo Kreuzer c621463e40 revert change to IoCreateFile
svn path=/branches/header-work/; revision=45813
2010-03-03 22:48:21 +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 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
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
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00