Illustrate header section of a device driver, Computer Engineering

Assignment Help:

Q. Illustrate Header section of a device driver?

Header comprises information which allows DOS to identify the driver. It also comprises pointers which allow it to chain to other drivers loaded into the system.

Header section of a device driver is 18 bytes in length and comprises pointers and name of the driver.

Following structure of the header:

CHAIN DD -1    : link to next driver

ATTR DW 0    : driver attribute

STRT DW START: address of strategy

INTER DW INT: address if interrupt

DNAME DB 'MYDRIVER': driver name.

The first double word comprises a -1 which informs DOS this is the last driver in chain. If extra drivers are added DOS inserts a chain address in this double word as the segment and offset address. Chain address points to the subsequent driver in the chain. This enables additional drivers installed at any time.

The attribute word signifies the type of headers included for driver and the type of device the driver installs. It also signifies whether the driver control a character driver or a block device.


Related Discussions:- Illustrate header section of a device driver

How the characters used in operand data type, Q. How the Characters used in...

Q. How the Characters used in operand data type? A common form of data is character or text strings. Characters are signified in numeric form mostly in ASCII (American Standard

C, Write a ‘C’ functions to arrange the elements of an integer array in suc...

Write a ‘C’ functions to arrange the elements of an integer array in such a way that all the negative elements are before the positive elements. The array is passed to it as an arg

What is the use of the statement leave to list-processing, What is the use ...

What is the use of the statement Leave to List-processing? Leave to List-processing statement is used to make a list from a module pool.  Leave to list processing statement per

Define memory allocation functions, The various memory allocation functions...

The various memory allocation functions are described below: (i) malloc( ) : It is a memory allocation function that assigns requested size of bytes and returns a pointer to t

Weighted-average under perpetual inventory procedure, Q. Weighted-average u...

Q. Weighted-average under perpetual inventory procedure? Weighted-average under perpetual inventory procedure in perpetual inventory procedure firms calculate a new weighted-av

How can i pass parameters to my simulation, How can I pass parameters to my...

How can I pass parameters to my simulation? A  test  bench  and  simulation  would likely  need  many  different  parameters  and  settings  for  various sorts of tests and con

Explain elements of language grammer, Explain elements of language Gram...

Explain elements of language Grammer . As proposed through Noam Chomsky, a grammar G contains the following elements: a. A finite set N of non terminal symbols. b. A f

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd