#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"
Go to the source code of this file.
Functions | |
| VOID | cbmiec_schedule_timeout (IN ULONG Howlong) |
| Schedule a timeout. | |
| VOID | cbmiec_udelay (IN ULONG Howlong) |
| Set the operational mode of the parallel port. | |
| VOID | cbmiec_block_irq (PDEVICE_EXTENSION Pdx) |
| Block all interrupts. | |
| VOID | cbmiec_release_irq (PDEVICE_EXTENSION Pdx) |
| Release the interrupts. | |
**************************************************************
Definition in file libiec/util.c.
|
|
Block all interrupts. This function blocks all interrupt, thus that we cannot be interrupted while executing some critical things. This should not be used for big time periods. Definition at line 95 of file libiec/util.c. References CLI(), DBG_ASSERT, DBGDO, FUNC_ENTER, and FUNC_LEAVE. Referenced by cbmiec_i_raw_read(), cbmiec_i_raw_write(), cbmiec_send_byte(), and cbmiec_wait_for_listener(). |
|
|
Release the interrupts. This function releases all interrupt, undoing a previous cbmiec_block_irq() call. Definition at line 119 of file libiec/util.c. References DBG_ASSERT, DBGDO, FUNC_ENTER, FUNC_LEAVE, and STI(). Referenced by cbmiec_i_raw_read(), cbmiec_i_raw_write(), cbmiec_send_byte(), and cbmiec_wait_for_listener(). |
|
|
Schedule a timeout. This function schedules a timeout. Scheduling means that other threads have the opportunity to use the processor while we're waiting.
Definition at line 35 of file libiec/util.c. References FUNC_ENTER, and FUNC_LEAVE. Referenced by cbmiec_check_device(), cbmiec_i_raw_read(), cbmiec_i_raw_write(), cbmiec_iec_wait(), cbmiec_reset(), and cbmiec_wait_for_listener(). |
|
|
Set the operational mode of the parallel port. This function waits for a timeout. Waiting means that we want to have an exact timing, so don't give away the processor.
Definition at line 67 of file libiec/util.c. References FUNC_ENTER, and FUNC_LEAVE. |
1.4.2