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

Explain region, What is a Region? A Region is a continuous area of a p...

What is a Region? A Region is a continuous area of a process's address space (like text, data and stack). The kernel in a "Region Table" that is local to the process mainta

Stencil duplicating, Stencil Duplicating Equipment Required Stenci...

Stencil Duplicating Equipment Required Stencil Duplicator Thermal copier (optional) Electronic stencil cutter Materials Stencil COPY paper Ink Clean

One pointer variable be subtracted from another, Under what conditions can ...

Under what conditions can one pointer variable be subtracted from another? Pointer subtraction isn't used very much, but can be handy to determine the distances between two arr

What controls the screen flow, What controls the screen flow? The SET ...

What controls the screen flow? The SET SCREEN and LEAVE SCREEN statements controls screen flow.

Explain about double error detection bit, Q. Explain about Double Error Det...

Q. Explain about Double Error Detection bit? Let's presume now that two bit errors take place in data. Data received: So on -matching we conclude P3-D3 pair doesn't

Explain the page stealer and the fault handler, How the Kernel handles both...

How the Kernel handles both the page stealer and the fault handler? The page stealer and the fault handler thrash because of the shortage of the memory. If the sum of the worki

Non-repudiation achieved in designing e-cash based system, How can non-repu...

How can non-repudiation be achieved into designing e-cash based system? E-cash is fundamentally an online solution. The buyer should validate the coins by the issuer so as to g

Find how many bits of adc are required to get an resolution, Find how many ...

Find how many bits of ADC are required to get an resolution of 0.5 mV if the maximum full scale voltage is 10 V Ans. Given Resolution=.5mV Full scale output=+10v %resolut

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