- SpiGetPciData() code improved, part of the code is transferred into a new function.
Right now a crash is introduced in ScsiPortFreeDeviceBase(), because of the changes in ScsiPortInitialize(): will be fixed by the next commit.
svn path=/trunk/; revision=26211
* No need to copy stuff from DDK, it's prohibited (#define _INC_NEWDEV)
* #pragma was put there especially, and no reason to remove it was said
* pushpack / poppack does not do anything if there are no structs definitions
svn path=/trunk/; revision=26210
- Fixed a bug with using wrong spinlock (IrpLock instead of SpinLock).
- Doesn't fix anything yet, just makes work with the ScsiPortInitialize() more comfortable and initializing needed fields correctly. Also the "PortConfig" filling inside ScsiPortInitialize() will go away once it works fine in the standalone function.
svn path=/trunk/; revision=26205
they are protoypes belong to dmemmgr.h
ddrawi.h need be rewiten it is from wine so I add some hacks for now getting it works simluare to ms ddk version.
This fix gdi32.dll break in the build
svn path=/trunk/; revision=26204
- Add some helper functions, and fields inside device extension structures.
- Reorganize flags a little, dividing them into flags for scsi port device extension and logical unit device extension. (however some of the flags are still messed up)
- This gets us further, but still not enough / bugs may exist.
svn path=/trunk/; revision=26199
- Set needed flags in a few places (which I forgot to set) - this fixes the hang introduced by the previous commit.
- Further code prettification.
svn path=/trunk/; revision=26198
- Respective changes in ScsiPortStartPacket(), also some code is missing for rare kind of requests.
- Add flags check into ScsiPortIsr(), so that we skip unwanted interrupts (and change to usage of the new interrupt flags structure instead of a strange and unclear "IrpFlags" field).
svn path=/trunk/; revision=26196
- Use DEVICE_QUEUEs.
- Add a function to retrieve SRB information help structure (is a shared code between Notify(), and in future - ScsiPortGetSrb()).
- Rework RequestComplete part of ScsiPortNotification().
- Rework ScsiPortDispatchScsi() a bit - shutdown/flush can share the same code as execute_scsi/ioctl requests, also added a few more DPRINTs in error conditions to help debugging.
svn path=/trunk/; revision=26192
- Enable debugging during text-mode setup.
- Optimize KeSynhronizeExecution into assembly so we can avoid using EBP and have the fastest possible routine, since it is performance critical.
-
svn path=/trunk/; revision=26167
1. vmware drv do not implement DrvGetDirectDrawInfo
that show windows 2000/XP/2003 that mean u are not force to implement this api in the drv, only INDEX_DrvEnableDirectDraw and INDEX_DrvDisableDirectDraw are req to be implement in the driver.
svn path=/trunk/; revision=26164