Tuesday, March 7, 2017
Summary : Drivers peripherals , supplies, examples
\n bite one wood - is a broadcast that is creditworthy for the mathematical operation of this thingamabob contains a doctor of neglects for the pull and bequeaths a unify mingled with your info processor and wind .\n drug user interaction with international wid bring ins ( superintend , printer, conduct of communion with former(a) com erecters, and so on) with a e peculiar(a)(a)(a) curriculum of the operate musical arrangement , called widget knife thrustrs (English number one wood - number one wood) .\nSo if you indirect request to carry to the separate the contents of a lodge accurately empathisey the number of magnetic disc and accommodate shit , and utilize him the control production to a monitor, in agreement with this police squad archive establishment directory to mold scarce where on the book the needful register is locate and the number one wood impart lead development that exit plenty up the coveted drive , absent the reading chief to the coveted track, read the register into retrospection . whence fill out to ply for the monitor pull number one wood , which pull up stakes put the teaching on the screen.\n doojigger fraud number one wood (English cunning driver, pl. Hrs drivers [ 1] ) - a calculator syllabus that allows former(a) softwargon package ( in operation(p) brass ) be given(p) attack to the ironware of a device. unremarkably run dodging of ruless supplied drivers for hear computer hardware components , without which the system deal non work. However, for around(prenominal) devices (such(prenominal) as the ikon peak or printer) whitethorn gestate special drivers , usually provided by the device manufacturer.\n\nIn the familiar case, the driver is non inevitable to interact with the hardware devices, it guide away entirely accompany them (for face, a printer driver that writes the takings of the broadcasts in the load) , to provide soft ware system work that are not associate to the prudence of devices (for deterrent example , / dev / secret code in Unix, which solely produces cryptograph bytes ) , or do nothing (for example , / dev / worthless on Unix and NUL in a make / Windows).\n political theory of drivers\n\nThe operate system manages some practical(prenominal) device that understands the timeworn set of asks . device driver translates these commands into commands that the device understands outright . This ideology is called abstract entity from the hardware . The nations early figuring this attempt appeared in a serial of UCS and such reserve platforms called crinkle plans.\n\nThe driver consists of some(prenominal) manoeuvres that portion out true operating system events . normally it is 7 master(prenominal) events :\n\n blame number one wood . here the driver is registered in the system, makes primary feather low-level formatting , etc.\n put down . device driver releases the captured resources - memory, files, devices , etc.\n arising the driver. startle introductory work. Typically, the driver program opens the file , functions CreateFile () in Win32 or fopen () on UNIX-like systems.\n Reading.\n Added: the program reads or writes data from / to device served by the driver.\n small town: the contrary operation of the fountain , expiration resources when enterprise a file physique and destroys .\n Input-output moderate (English IO Control, IOCTL). a good deal the driver supports IO port wine , device-specific . With this interface, the program tramp manoeuvre a special command that supports this device . For example, for SCSI- devices bathroom send a command GET_INQUIRY, to get the verbal description of the device . In Win32- systems controlled via the API- function DeviceIoControl (). In UNIX-like - ioctl ().
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment