Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/control.c File Reference

#include <kernel.h>
#include <device.h>

Include dependency graph for control.c:

Go to the source code of this file.

Functions

devcall control (ushort descrp, ushort func, long arg1, long arg2)


Detailed Description

control

Id
control.c 226 2007-07-12 01:18:27Z mschul

Definition in file control.c.


Function Documentation

devcall control ( ushort  descrp,
ushort  func,
long  arg1,
long  arg2 
)

control - control a device (e.g., set the mode)

Parameters:
descrp definition of device to control
func specific control function for device
arg1 specific argument for func
arg2 specific argument for func
Returns:
function to control device on success, SYSERR on failure

Definition at line 20 of file control.c.

References dentry::control, devtab, isbaddev, and SYSERR.

Referenced by getch(), and shell().


Generated on Thu Oct 9 22:34:59 2008 for xinu by  doxygen 1.5.5