Commit graph

19 commits

Author SHA1 Message Date
Amine Khaldi
6bc4e97d08 Sync trunk.
svn path=/branches/header-work/; revision=47661
2010-06-07 15:30:17 +00:00
Amine Khaldi
b1dae6b379 Sync up to trunk head.
svn path=/branches/header-work/; revision=47301
2010-05-22 13:41:48 +00:00
Amine Khaldi
e83facdb84 [NTOSKRNL]
- Add KiGetSecondLevelDCacheSize (for all the available architectures) and MiGetPdeOffset macros.
- Remove conflicting PDE_SIZE definitions (both aren't used anywhere).
- Fix ValidKernelPde, PointerPte and PointerPde types and correct their use (mminit.c).
- Thanks to the work that was done over the recent commits (in the header branch) and this one, the kernel now builds (but doesn't link yet) for ARM.

svn path=/branches/header-work/; revision=47258
2010-05-17 21:26:51 +00:00
Amine Khaldi
cf73dc7621 - Sync with trunk up to r46941.
[VMWINST]
- Rename FileExists() to DoesFileExist() to avoid clashing with the real API.

svn path=/branches/header-work/; revision=47155
2010-05-10 19:04:41 +00:00
Amine Khaldi
cd5c660bf9 Revert the sync.
We only can safely sync up to r46941.

svn path=/branches/header-work/; revision=47096
2010-05-03 16:42:07 +00:00
Amine Khaldi
69b36d050f Sync with trunk head (part 1 of 2)
svn path=/branches/header-work/; revision=47094
2010-05-03 12:54:59 +00:00
Amine Khaldi
e06395dacf Sync with trunk head (part 1 or 2)
svn path=/branches/header-work/; revision=46667
2010-04-02 10:03:25 +00:00
Amine Khaldi
7a3aaf62ee Sync with trunk head (part 1 of x)
svn path=/branches/header-work/; revision=46461
2010-03-26 09:25:42 +00:00
Amine Khaldi
2bce4e0e52 Sync with trunk head.
svn path=/branches/header-work/; revision=46444
2010-03-25 18:04:58 +00:00
Amine Khaldi
a896fedfea [NTOSKRNL]
- Remove duplicate SINGLE_GROUP_LEGACY_API definition.
[PSDK]
- Add missing GROUP_AFFINITY structure.
[NTDDK]
- Remove ExFreePool definition.
[NDK]
- Remove duplicate PROCESSOR_CACHE_TYPE and CACHE_DESCRIPTOR definitions (they now exist in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Add PROCESSOR_CALLBACK_FUNCTION, INVALID_PROCESSOR_INDEX, XSTATE_SAVE, LOOKASIDE_MINIMUM_BLOCK_SIZE and several missing Ke*, KBUGCHECK_*, KB_ADD_PAGES_FLAG_*, EXCEPTION_*, KE_PROCESSOR_CHANGE_*, Ex*, FirstEntrySList, and EX_*, RESOURCE_* definitions.
- Update ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList, OWNER_ENTRY and ERESOURCE.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

svn path=/branches/header-work/; revision=46287
2010-03-20 16:58:43 +00:00
Amine Khaldi
b797eef5ea Sync with trunk head (part 1 of 2)
svn path=/branches/header-work/; revision=46262
2010-03-18 15:37:13 +00:00
Timo Kreuzer
89a27c5264 [NTOS]
- KPCR::Tib -> NtTib, KPCR::Self -> SelfPcr
- Rename ExInitializePushLock inline function to _ExInitializePushLock and use a define, as in newer versions of windows the function exists as export and is in the WDK

svn path=/branches/header-work/; revision=46136
2010-03-12 16:28:04 +00:00
Amine Khaldi
a00acb2a1b Sync with trunk head
svn path=/branches/header-work/; revision=46021
2010-03-09 00:19:55 +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
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