- Actually do the power state transtion when a PDO receives IRP_MN_SET_POWER for DevicePowerState
- Fill the DEVICE_CHARACTERISTICS struct based on values in the acpi_device struct
- Lots of unhacking
svn path=/trunk/; revision=45907
- MmProbeAndLockProcessPages is win2k, not XP
- update CM_PARTIAL_RESOURCE_DESCRIPTOR
- comment out some ExInterlocked functions for x86
svn path=/branches/header-work/; revision=45905
- KPROCESSOR_MODE is CCHAR
- add PF_XSAVE_ENABLED, SEC_COMMIT
- KeSaveFloatingPointState and KeRestoreFloatingPointState are x86 only
svn path=/branches/header-work/; revision=45904
- 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
- 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
- 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
- Also used Virtual Box Display Driver as sample, which is based on "GPL" Windows 2003 DDK sample driver. Could not use 2003 DDK sample directly because of licensing issues, and feel unsafe about VirtualBox "GPL" driver that says "PATENTED AND ONLY FOR USE IN MICROSOFT PRODUCTS".
- Note that old driver was based off DDK sample too, but with variables renamed (some comments identical!) and code reformatted, then marked as "GPL". This is not very good way to share/use code... one day someone can teach you lesson.
svn path=/trunk/; revision=45874
- Work-in-progress, can boot to GUI with VMWare, but banked modes not yet supported, no VDM, no Mode-X, etc...
- Thanks to sir_richard for help with headers, comments and other English stuff.
- Driver is only built, not yet used.
- NOTE: Some parts of BootVid seem to use functions copied from this sample (VgaInterpretCmdStream) but under "GPL", and also buggy (Chain4 Mode test will not work on most cards and VgaIsPresent == FALSE). Someone should fix.
svn path=/trunk/; revision=45873
- Add a hack that selects the correct display number to use which allows other drivers to take over if one driver's HwFindAdapter fails
- This allows ROS to work on non-VESA 2.0 compliant video cards if /NOVESA is specified
- NOTE: VGA seems to have regressed quite a bit. The mouse doesn't show up but still works.
svn path=/trunk/; revision=45872
- Really perform a controller hard-reset if it can't recover from a soft reset. Fixes VirtualBox one IDE controller configuration (master - IDE, slave - ATAPI).
See issue #5145 for more details.
svn path=/trunk/; revision=45869
- Implement a function to retrieve the current acquired mapping tag range of the miniport driver
- Call RevokeMappings when audio pin is stopped
svn path=/trunk/; revision=45862
- More cleanup
- Only copy audio bytes to common buffer when the audio pin is in the running state
- Only notify miniport when the audio pin is in the running state
svn path=/trunk/; revision=45860
- Remove dead code
- Disable last mapping failed status when a new mapping is inserted
- Notify IMiniportWavePciStream::MappingAvailable when a new mapping has arrived and the last one has failed
- Return STATUS_NOT_FOUND in IPortWavePciStream::GetMapping when no mapping is available
- Don't stop stream when no mapping is currently available
svn path=/trunk/; revision=45859
- 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