Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

dpc.c

Go to the documentation of this file.
00001 /*
00002  *  This program is free software; you can redistribute it and/or
00003  *  modify it under the terms of the GNU General Public License
00004  *  as published by the Free Software Foundation; either version
00005  *  2 of the License, or (at your option) any later version.
00006  *
00007  *  Copyright 2004 Spiro Trikaliotis
00008  *
00009  */
00010 
00020 #include <wdm.h>
00021 #include "cbm_driver.h"
00022 #include "i_iec.h"
00023 
00024 #ifdef USE_DPC
00025 
00048 VOID
00049 cbmiec_dpc(IN PKDPC Dpc, IN PDEVICE_OBJECT Fdo, IN PIRP Irp, IN PVOID Context)
00050 {
00051     PDEVICE_EXTENSION pdx;
00052 
00053     FUNC_ENTER();
00054 
00055     UNREFERENCED_PARAMETER(Dpc);
00056     UNREFERENCED_PARAMETER(Irp);
00057     UNREFERENCED_PARAMETER(Context);
00058 
00059     DBG_DPC((DBG_PREFIX "DPC called"));
00060 
00061     pdx = Fdo->DeviceExtension;
00062 
00063     // Set the event that we are ready to quit cbmiec_wait_for_listener()
00064 
00065     DBG_IRQL( <= DISPATCH_LEVEL);
00066     KeSetEvent(&pdx->EventWaitForListener, IO_SOUND_INCREMENT, FALSE);
00067 
00068     FUNC_LEAVE();
00069 }
00070 
00071 #endif // #ifdef USE_DPC

Generated on Sun Apr 30 18:45:48 2006 for opencbm by  doxygen 1.4.2