IndexA
- add_drv command, (
), ( )- use in modifying existing drivers, (
)
- alternate kernels, use in testing, (
)
- ASSERT() kernel function, (
), ( ), ( ), ( )
- attach() entry point, (
), ( ), ( ), ( ), ( )
B
- blk device, (
)
- block device, (
)
- boot command, (
)
- bzero() kernel function, (
)
C
- cat command, (
)
- cb_ops driver structure, (
), ( ), ( ), ( )
- cc command, (
)
- character device, (
)
- close() entry point, (
), ( ), ( )
- cmn_err() kernel function, (
), ( ), ( ), ( )
- commands
- add_drv, (
), ( ), ( )
- boot, (
)
- cat, (
)
- cc, (
)
- dmesg, (
)
- echo, (
)
- fsck, (
)
- gcc, (
)
- kernel, (
)
- ld, (
), ( ), ( )
- mknod, (
)
- modinfo, (
), ( ), ( )
- modload, (
)
- modunload, (
)
- more, (
)
- prtconf, (
), ( ), ( ), ( ), ( ), ( )
- prtpicl, (
)
- rem_drv, (
), ( ), ( )
- syslogd, (
), ( )
- update_drv, (
)
- compiling, (
)
- condition variables, (
)
- conditional compilation, (
)
- condvar() kernel functions, (
)
- configuration files, (
), ( )
- crash dumps, use in testing, (
)
- cv_broadcast() kernel function, (
), ( )
- cv_destroy() kernel function, (
), ( )
- cv_init() kernel function, (
), ( )
- cv_signal() kernel function, (
)
- cv_wait() kernel function, (
)
- cv_wait_sig() kernel function, (
), ( )
D
- data loss, avoiding while testing, (
)
- data model
- converting, (
), ( )
- ddi_copyin() kernel function, (
), ( ), ( ), ( )
- ddi_copyout() kernel function, (
), ( ), ( )
- ddi_create_minor_node() kernel function, (
), ( ), ( ), ( )
- ddi_get_instance() kernel function, (
), ( ), ( )
- ddi_get_soft_state() kernel function, (
), ( ), ( ), ( )
- ddi_model_convert_from() kernel function, (
), ( ), ( )
- ddi_prop_get_int() kernel function, (
)
- ddi_prop_lookup() kernel function, (
)
- ddi_prop_op() kernel function, (
), ( )
- ddi_remove_minor_node() kernel function, (
), ( ), ( ), ( )
- ddi_report_dev() kernel function, (
)
- ddi_soft_state_fini() kernel function, (
), ( )
- ddi_soft_state_free() kernel function, (
), ( )
- ddi_soft_state_init() kernel function, (
), ( )
- ddi_soft_state() kernel function, (
)
- ddi_soft_state_zalloc() kernel function, (
), ( )
- ddi_umem_alloc() kernel function, (
)
- ddi_umem_free() kernel function, (
), ( )
- debugging device drivers, tips, (
)
- detach() entry point, (
), ( ), ( ), ( )
- /dev directory, (
), ( )
- dev_info device structure, (
), ( ), ( )
- dev_ops driver structure, (
), ( ), ( )
- devfs devices file system, (
)
- devfsadmd devices file system administration command, (
)
- device drivers, (
)- adding, (
)
- coding tips, (
)
- compiling, (
)
- condition variables, (
)
- conditional compilation, (
)
- debugging tips, (
)
- development guidelines, (
)
- directories, (
)- adding, (
)
- entry points, (
), ( )- See also entry points
- how used, (
)
- I/O controls, (
), ( )
- installing, (
), ( )
- linking, (
)
- loading, (
), ( ), ( )
- mutexes, (
)
- naming conventions, (
)
- recommended housekeeping, (
)
- removing, (
), ( )
- structures
- See driver structures
- test areas, (
)
- testing, (
)
- thread synchronization, (
)
- tuning, (
)
- unloading, (
), ( )
- updating, (
)
- device instance pointer (dip), (
), ( ), ( )
- device number, (
)
- device structures
- dev_info, (
), ( ), ( )
- device tree, (
)
- devices
- blk, (
)
- block, (
), ( )
- character, (
), ( ), ( )
- configuration files, (
), ( )
- device tree, (
)
- directories, (
), ( )
- exclusive access, (
)
- file system
- devfs, (
)
- devfsadmd, (
)
- instances, (
), ( ), ( ), ( )
- md metadevice, (
)
- names, (
)
- nexus, (
), ( )
- numbers, (
), ( ), ( )
- prefixes, (
), ( )
- properties, (
), ( )
- pseudo, (
), ( )
- ramdisk, (
), ( )
- raw, (
)
- reading, (
), ( ), ( )
- special files, (
)
- state, (
)
- writing, (
), ( ), ( ), ( )
- /devices directory, (
), ( ), ( ), ( )
- /devices/pseudo directory, (
), ( ), ( )
- devmap() entry point, (
)
- dmesg command, (
)
- driver.conf file, (
)
- driver structures
- cb_ops, (
), ( ), ( ), ( )
- character and block operations structure, (
)
- dev_ops, (
), ( ), ( )
- device operations structure, (
)
- modinfo, (
)
- modldrv, (
), ( )
- modlinkage, (
), ( ), ( )
- module linkage structures, (
)
- drivers, See device drivers
- DTrace analyzer, (
)
E
- echo command, (
)
- entry points
- attach(), (
), ( ), ( ), ( ), ( )
- autoconfiguration, (
)
- close(), (
), ( ), ( )
- detach(), (
), ( ), ( ), ( )
- devmap(), (
)
- _fini(), (
), ( ), ( )
- getinfo(), (
), ( ), ( )
- _info(), (
), ( ), ( ), ( )
- _init(), (
), ( ), ( ), ( ), ( )
- ioctl(), (
), ( ), ( ), ( )
- loadable module configuration, (
)
- open(), (
), ( ), ( )
- prop_op(), (
), ( )
- read(), (
), ( ), ( )
- user context, (
)
- write(), (
), ( ), ( )
- /etc/driver_aliases file, (
)
- /etc/name_to_major file, (
), ( ), ( )
F
- files
- driver.conf, (
)
- /etc/name_to_major, (
), ( ), ( )
- system, (
)
- /var/adm/messages, (
), ( )
- _fini() entry point, (
), ( ), ( )
- fsck command, (
)
- functions
- kstat(), (
)
- printf(), (
)
- signal(), (
), ( ), ( )
G
- gcc command, (
)
- getinfo() entry point, (
), ( ), ( )
- getminor() kernel function, (
), ( )
- GNU C, (
)
H
- hotplugging, (
)
I
- I/O controls, (
), ( )
- _info() entry point, (
), ( ), ( ), ( )
- _init() entry point, (
), ( ), ( ), ( ), ( )
- instance number, (
), ( ), ( ), ( )
- interrupts, avoiding problems, (
)
- ioctl() entry point, (
), ( ), ( ), ( )
- ioctl() requests, avoiding problems, (
)
K
- kernel, (
)- address space, (
), ( )
- privilege
- See also kernel mode
- kernel command, (
)
- kernel functions
- ASSERT(), (
), ( ), ( ), ( )
- bzero(), (
)
- cmn_err(), (
), ( ), ( ), ( )
- condvar(), (
)
- cv_broadcast(), (
), ( )
- cv_destroy(), (
), ( )
- cv_init(), (
), ( )
- cv_signal(), (
)
- cv_wait(), (
)
- cv_wait_sig(), (
), ( )
- ddi_copyin(), (
), ( ), ( ), ( )
- ddi_copyout(), (
), ( ), ( )
- ddi_create_minor_node(), (
), ( ), ( ), ( )
- ddi_get_instance(), (
), ( ), ( )
- ddi_get_soft_state(), (
), ( ), ( ), ( )
- ddi_model_convert_from(), (
), ( ), ( )
- ddi_prop_get_int(), (
)
- ddi_prop_lookup(), (
)
- ddi_prop_op(), (
), ( )
- ddi_remove_minor_node(), (
), ( ), ( ), ( )
- ddi_report_dev(), (
)
- ddi_soft_state(), (
)
- ddi_soft_state_fini(), (
), ( )
- ddi_soft_state_free(), (
), ( )
- ddi_soft_state_init(), (
), ( )
- ddi_soft_state_zalloc(), (
), ( )
- ddi_umem_alloc(), (
)
- ddi_umem_free(), (
), ( )
- getminor(), (
), ( )
- kmem_alloc(), (
)
- kmem_zalloc(), (
)
- memcpy(), (
)
- mod_info(), (
), ( )
- mod_install(), (
), ( ), ( )
- mod_remove(), (
), ( ), ( )
- mutex(), (
)
- mutex_destroy(), (
), ( )
- mutex_init(), (
), ( )
- mutex_owned(), (
)
- nochpoll(), (
)
- nodev(), (
), ( )
- nulldev(), (
), ( )
- strlcpy(), (
), ( )
- strncpy(), (
)
- uiomove(), (
), ( ), ( ), ( )
- kernel mode, (
)
- kernel modules, use in testing, (
)
- kernel statistics, (
)
- kernel structures
- uio, (
), ( )
- kmdb kernel debugger, (
)
- kmem_alloc() kernel function, (
)
- kmem_zalloc() kernel function, (
)
- kstat() function, (
)
L
- ld command, (
), ( ), ( )
- linking, (
), ( ), ( )
M
- major number, (
), ( )
- mdb modular debugger, (
)
- memcpy() kernel function, (
)
- metadevice, (
)
- minor number, (
), ( ), ( )
- mknod command, (
)
- mknod() system call, (
)
- mmap() system call, (
)
- mod_info() kernel function, (
), ( )
- mod_install() kernel function, (
), ( ), ( )
- mod_remove() kernel function, (
), ( ), ( )
- moddir kernel variable, (
)
- modinfo command, (
), ( ), ( )
- modinfo driver structure, (
)
- modldrv driver structure, (
), ( )
- modlinkage driver structure, (
), ( ), ( )
- modload command, (
)
- modunload command, (
)
- more command, (
)
- mutex_destroy() kernel function, (
), ( )
- mutex_init() kernel function, (
), ( )
- mutex() kernel function, (
)
- mutex_owned() kernel function, (
)
- mutexes, (
)- avoiding problems, (
)
N
- naming conventions, (
)
- nexus device, (
)
- nochpoll() kernel function, (
)
- nodev() kernel function, (
), ( )
- nulldev() kernel function, (
), ( )
O
- open() entry point, (
), ( ), ( )
P
- power management, (
)
- prefixes, (
), ( )
- printf() function, (
)
- prop_op() entry point, (
), ( )
- protected mode, (
)
- prtconf command, (
), ( ), ( ), ( ), ( ), ( )
- prtpicl command, (
)
Q
- QOTD_BUSY condition, (
), ( )
R
- raw device, (
)
- read() entry point, (
), ( ), ( )
- read() system call, (
)
- rem_drv command, (
), ( ), ( )
- restricted mode, (
)
S
- serial connections, use in testing, (
)
- signal() function, (
), ( ), ( )
- soft state, (
)
- SPARC
- address space, (
)
- compiling, (
)
- special files, (
)
- state structures, (
), ( )
- strlcpy() kernel function, (
), ( )
- strncpy() kernel function, (
)
- Sun Studio, (
)
- syslogd command, (
), ( )
- system calls
- mknod(), (
)
- mmap(), (
)
- read(), (
)
- system configuration information file, (
)
- system crash dumps, use in testing, (
)
T
- testing device drivers, (
)
- thread synchronization, (
)
- tuning device drivers, tips, (
)
U
- uio kernel structure, (
), ( )
- uiomove() kernel function, (
), ( ), ( ), ( )
- update_drv command, (
)
- user mode, (
)
- /usr/kernel directory, (
), ( )
V
- /var/adm/messages file, (
), ( )
- volatile keyword, (
)
W
- write() entry point, (
), ( ), ( )
X
- x86
- address space, (
)
- compiling, (
)
|