Download Coherent Device Driver Kit
Transcript
56 accessible kernel routines - aha1 54x accessible kernel routines - Overview The COHERENT kernel contains a number of routines that can They are as follows : defend defer dmago dmaoff dmaon dmareq inb lock locked outb panic pollopen pollwake printf sleep super timeout unlock wakeup be accessed by device drivers . Execute deferred functions Defer function execution Enable DMA transfers Disable DMA transfers Prepare for DMA transfer Request block1/0. avoiding DMA straddles Read a byte from an l/0 port Lock a gate See if a gate is locked Output a byte to an1/0 port Fatal system error Initiate driver polled event Terminate driver polled event Formatted print Wait for event or signal Verify super-user Defer function execution Unlock a gate Wakeup processes sleeping on an event See Also device drivers actvsigO - Signal-Handler Routine Activate signal handler actvsigQ The routine actvsig activates a signal handler. For example: if ( SELF->p_ssig & & nondsig ( ) ) actvsig ( ) ; If the current process has received a signal (p_ssig being non-zero) that is not ignored (not default signal handling). calling actvsig will activate it. "Activate" means that the process is moved from the kernel's "suspended" list to its "ready" list, where it will await further execution by the kernel. If the current process is terminated, actvsig will not return. See Also signal-handler routines aha1 54x - Device Driver Adaptec AHA- 1 54x device driver The device driver aha 1 54x lets you use SCSI interface devices attached to an Adaptec AHA- 1 54x series host adapter. This driver has major number 1 3 . It can be accessed either as a block-special device or as a character-special device. The minor number specifies the device and partition number for disk-type devices, letting you use up to eight SCSI-IDs , with up to four logical unit numbers (LUNs) per SCSI-ID and up to four partitions per LUN. The first open call on a SCSI disk device allocates memory for the partition table and reads it into memory. LEXICON