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

waitlistener.c File Reference

Wait for listener to signal that it is ready to receive. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"

Go to the source code of this file.

Functions

VOID cbmiec_wait_for_listener (IN PDEVICE_EXTENSION Pdx, IN BOOLEAN SendEoi)
 Wait until listener is ready to receive.


Detailed Description

Wait for listener to signal that it is ready to receive.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
waitlistener.c,v 1.31 2006/03/09 11:24:27 trikalio Exp

Authors:
Based on code from Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>

Definition in file waitlistener.c.


Function Documentation

VOID cbmiec_wait_for_listener IN PDEVICE_EXTENSION  Pdx,
IN BOOLEAN  SendEoi
 

Wait until listener is ready to receive.

This function waits until a listener is ready.

Parameters:
Pdx Pointer to the device extension.
SendEoi TRUE if we want to signal an EOI. FALSE otherwise.
Todo:
Shouldn't we make sure that there is no spurious interrupt until now?
Bug:
This implementation can lock up the while machine, thus, do not use it!

Definition at line 81 of file waitlistener.c.

References cbmiec_block_irq(), CBMIEC_GET, CBMIEC_RELEASE, cbmiec_release_irq(), cbmiec_schedule_timeout(), CBMIEC_SET, DBG_ASSERT, DBG_PREFIX, DBG_SUCCESS, DBG_VERIFY, DBGDO, FUNC_ENTER, FUNC_LEAVE, libiec_global_timeouts, PP_CLK_OUT, PP_DATA_IN, PP_LP_IRQ, QueueShouldCancelCurrentIrp(), and IEC_TIMEOUTS::T_WaitForListener_Granu_T_H.

Referenced by cbmiec_i_raw_write().


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