- remove KeGetCurrentThread inline function, it's already in the wdm.h, reenable the exported function
- Add InitializeSListHead export
- Use RtlInitializeSListHead for InititializeSListHead
- Add hacks for WDK compilation
- Add ValidKernelPte/Pde
- Comment out MiSyncARM3WithROS, add a stub instead
svn path=/branches/ros-amd64-bringup/; revision=46406
- Multiple ULONG -> SIZE_T fixes
- Use SLIST_ENTRY, not SINGLE_LIST_ENTRY in InterlockedPushEntrySList, they are not the same!
- Fix InterlockedCompareExchangePointer usage
- _1MB is 1024 KB, not 1000
- Rename PDE_SIZE to PD_SIZE to reflect it's purpose (size of a page directory, not a page directory entry)
- Add PD_COUNT, PDE_COUNT and PTE_COUNT for amd64 (should rather use PTE_PER_PAGE etc and move them to arch specific files.
- Some more PFN_TYPE -> PFN_NUMBER
svn path=/branches/ros-amd64-bringup/; revision=46404
- fix ExInterlockedPopEntryList and ExInterlockedPushEntryList
- Update amd64/mm.h and mm/amd64/init.c to reflect latest trunk changes
- make freelist.c compile again
svn path=/branches/ros-amd64-bringup/; revision=46403
NtAccessCheck:
- Fix returned status if the token is not an impersonation token.
- Add a check for the token impersonation level.
svn path=/trunk/; revision=46347
- HACK: Return the oldest used sample when the allocator runs out of samples. Fixes playback as the render does not seem to release the media samples
- Start implementing IKsClockForwarder interface
- Fix a few bugs in KsOpenDefaultDevice
- Implement IMediaSample::GetMediaType
- Always use the CKsAllocator interface for allocating samples
svn path=/trunk/; revision=46346
- Implement IKsAllocator interface
- Implement IMediaSample interface
- Implement querying the output pin for IMemInputPin and determine allocator properties. Currently the allocation strategy is limited to 16 Buffers with a size of 2048 * 188 (MPEG2 TS Payload size). Needs more work to determine a reasonable value
- Implement overriding allocator if properties are not matching
- Implement IPin::BeginFlush, IPin::EndFlush, IPin::EndOfStream, IPin::NewSegment for the OutputPin
- Implement a I/O thread which queues the media sample to the kernel pin via IKsInterfaceHandler and then transmitts it to the connected input pin via IMemInputPin interface.
- Implement setting pin state via a friend function, in order to synchronize the starting / stopping of the I/O thread
- Fix a bug in IAMFilterMiscFlags::GetMiscFlags function
- ksproxy (CLSID_Proxy) is now able to connect to MPEG-2 splitter and deliver samples. Needs more investigation why the render filter is not releasing the samples back to allocator, which causes the I/O thread to hang. WIP
svn path=/trunk/; revision=46339
[CMBATT]: Implement CmBattWmiRegistration and CmBattWmiDeRegistration to initialize the WMILIB and register with the I/O WMI routines.
[DDK]: Add missing IoWMIRegistrationControl flags.
svn path=/trunk/; revision=46333