- 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
- 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
- Fix Samuel's mistake of assuming that xmlstrs are zero-terminated by adding a xmlstr2unicode function, which returns a UNICODE_STRING representation of xmlstr suitable for printing. No debug log garbage now (disadvantage: more code changes compared to the original code).
svn path=/trunk/; revision=45845