Writing Device Drivers
    
M
 
 M_ERROR ( Index Term Link )
 
 macros ( Index Term Link )
  device macros ( Index Term Link )
  kadb debugger ( Index Term Link )
  thread macros ( Index Term Link )
 
 major numbers
  description ( Index Term Link )
  example ( Index Term Link )
 
 makedevice() function, description ( Index Term Link )
 
 mapsize argument, rmallocmap(), changes ( Index Term Link )
 
 mdb ( Index Term Link )
  commands ( Index Term Link )
 
 mdb
  detecting kernel memory leaks ( Index Term Link )
 
 mdb
  displaying data structures ( Index Term Link )
  getting started ( Index Term Link )
  navigating device tree with ( Index Term Link )
  retrieving soft state information ( Index Term Link )
 
 mdb
  writing commands ( Index Term Link )
 
 memory allocation, description ( Index Term Link )
 
 memory allocation functions, table ( Index Term Link )
 
 memory leaks, detecting with mdb ( Index Term Link )
 
 memory management unit, description ( Index Term Link )
 
 memory mapping
  device context management of ( Index Term Link )
  device memory management ( Index Term Link ) ( Index Term Link ) ( Index Term Link )
 
 memory model
  SPARC ( Index Term Link )
  store buffers ( Index Term Link )
 
 minor device node ( Index Term Link )
  modifying permissions of ( Index Term Link )
 
 minor numbers, description ( Index Term Link )
 
 minphys() function, description ( Index Term Link )
 
 mmap() function, driver notification ( Index Term Link )
 
 moddebug kernel variable ( Index Term Link )
 
 moddebug kernel variable ( Index Term Link )
 
 modinfo(1M) command ( Index Term Link )
 
 modldrv structure, description ( Index Term Link )
 
 modlinkage structure, description ( Index Term Link )
 
 modload(1M) command ( Index Term Link )
 
 modular debugger
  See mdb
 
 module directory ( Index Term Link )
 
 module functions, table of loadable module functions ( Index Term Link )
 
 module_info structure, network drivers ( Index Term Link )
 
 modunload command, description ( Index Term Link )
 
 modunload(1M) command ( Index Term Link )
 
 mount() function, block drivers ( Index Term Link )
 
 multiplexing I/O ( Index Term Link )
 
 multiprocessor considerations ( Index Term Link )
 
 multithreading
  and condition variables ( Index Term Link )
  D_MP flag in cb_ops structure ( Index Term Link )
  execution environment ( Index Term Link )
  and locking primitives ( Index Term Link )
  thread synchronization ( Index Term Link )
 
 mutex
  functions ( Index Term Link )
  locks ( Index Term Link )
  related panics ( Index Term Link )
  routines ( Index Term Link )
 
 mutex_owned() function, example ( Index Term Link )
 
 mutual-exclusion locks
  See mutex