- Check for valid DeviceExtensionSize
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 17 Jan 2009 11:19:27 +0000 (11:19 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 17 Jan 2009 11:19:27 +0000 (11:19 +0000)
commitf59378c1d05471a51ceb2ca44c94c0e39889c7ad
tree522792df1a8ba55f9e958cabd0271cf1534589b3
parent4ca6732fcd4ee77523189d0322511dc90b341841
- Check for valid DeviceExtensionSize
- Pass correct flags when creating the fdo
- set DO_DIRECT_IO flag
- clear DO_DEVICE_INITIALIZING flag
- Move all calls to ExAllocatePoolWithTag to a function AllocateItem which is also responsible for zeroing memory
- Fix ISubDevice GUID
- don't disconnect the interrupt on cleanup, IInterruptSync_fnDisconnect exist for that purpose
- If there is no interrupt yet connected, call the synchronized routine holding the internal spinlock
- Copy the current stack location  when forwarding a Irp PcForwardIrpSynchronous
- Implement ISubdevice interface for IPortTopology
- Initialize the dpc for calling Miniport object, as it might create an interrupt object which immediately fires an interrupt
- If the caller doesnt provide an IAdapterPowerManagement interface, clear the existing reference
- Fix 2 bugs in IRegistryKey_NewSubKey which made the system crashing
- Pass the pdo to IoOpenDeviceRegistryKey
- Move all guids and IIDs to own file and initialize them
- portcls initializes now to the first interrupt fired (vbox+ICH AC97 driver | qemu+es1370 driver)

svn path=/trunk/; revision=38810
24 files changed:
reactos/drivers/wdm/audio/backpln/portcls/adapter.c
reactos/drivers/wdm/audio/backpln/portcls/connection.c
reactos/drivers/wdm/audio/backpln/portcls/dma_slave.c
reactos/drivers/wdm/audio/backpln/portcls/drm_port.c
reactos/drivers/wdm/audio/backpln/portcls/filter_wavecyclic.c
reactos/drivers/wdm/audio/backpln/portcls/guids.c [new file with mode: 0644]
reactos/drivers/wdm/audio/backpln/portcls/interfaces.h
reactos/drivers/wdm/audio/backpln/portcls/interrupt.c
reactos/drivers/wdm/audio/backpln/portcls/irp.c
reactos/drivers/wdm/audio/backpln/portcls/miniport.c
reactos/drivers/wdm/audio/backpln/portcls/miniport_dmus.c
reactos/drivers/wdm/audio/backpln/portcls/pool.c [new file with mode: 0644]
reactos/drivers/wdm/audio/backpln/portcls/port.c
reactos/drivers/wdm/audio/backpln/portcls/port_dmus.c
reactos/drivers/wdm/audio/backpln/portcls/port_topology.c
reactos/drivers/wdm/audio/backpln/portcls/port_wavecyclic.c
reactos/drivers/wdm/audio/backpln/portcls/port_wavepci.c
reactos/drivers/wdm/audio/backpln/portcls/portcls.rbuild
reactos/drivers/wdm/audio/backpln/portcls/power.c
reactos/drivers/wdm/audio/backpln/portcls/private.h
reactos/drivers/wdm/audio/backpln/portcls/registry.c
reactos/drivers/wdm/audio/backpln/portcls/resource.c
reactos/drivers/wdm/audio/backpln/portcls/service_group.c
reactos/drivers/wdm/audio/backpln/portcls/version.c