|
| |
INSTALLING CHARACTER DEVICES
One of the functions defined for each device is INIT. This
routine is called only once when the device is installed and
never again. The INIT routine returns the following:
A) A location to the first free byte of memory after the device
driver, like a TSR that is stored in the terminating address
field. This way, the initialization code can be used once
and then thrown away to save space.
B) After setting the address field, a character device driver
can set the status word and return. |