Next | Prev | Up | Top | Contents | Index

Driver Exported Names

A kernel driver is required to export certain names of static data and functional entry points. These exported names are summarized in Table A-1.

Driver Exported Names
NameSummaryDiscussedVersions
close(D2) Notify driver of final close of minor device.page 149SV, 5.3
devflag(D1) Show driver attributes to lboot.page 140SV*, 5.3*
halt(D2) Notify driver of system shutdown.page 168SV, 5.3
info(D1) Show driver entries to STREAMS interface.page 542SV, 5.3
init(D2) Initialize driver early in system startup.page 144SV*, 5.3
intr(D2) Notify driver of device interrupt.page 164SV, 5.3
ioctl(D2) Call driver to implement ioctl() call.page 150SV*, 5.3
map(D2) Call driver to implement IRIX mmap().page 1595.3
mmap(D2) Call driver to implement mmap().page 161SV*, 5.3
open(D2) Call driver to open a device.page 146SV, 5.3
print(D2) Call block driver to display filesystem error.page 169SV, 5.3
put(D2) Call STREAMS driver to receive message.page 544SV, 5.3
read(D2) Call character driver to read data.page 152SV, 5.3
size(D2) Call block driver to get device capacity.page 169SV, 5.3
srv(D2) Call driver to service queued messages.page 545SV, 5.3
start(D2) Initialize driver late in system startup.page 145SV, 5.3
strategy(D2) Call block driver to read or write data.page 154SV*, 5.3
unload(D2) Call loadable driver prior to unloading it.page 1675.3
unmap(D2) Call driver to notify it of unmap() call.page 1625.3
write(D2) Call character driver to write data.page 152SV, 5.3

The following reference pages have overview information on exported names: intro(D1), intro(D2), and prefix(D1).

Note: The following SVR4 exported names are not used in IRIX drivers: chpoll, _load, and _unload. The latter is replaced by pfxload() without the leading underscore.



Next | Prev | Up | Top | Contents | Index