1: /*
   2:  * Internal structure used to store info from the device table
   3:  */
   4: 
   5: struct handler_s {
   6:     struct handler_s *s_next;
   7:     char *s_str;
   8:     struct nlist *s_nl;
   9: };
  10: 
  11: struct dtab_s {
  12:     struct dtab_s   *dt_next;   /* Next device in list */
  13:     char    *dt_name;       /* Two character device name */
  14:     int dt_unit;        /* Unit number, -1 is wildcard */
  15:     int dt_addr;        /* CSR address */
  16:     int dt_vector;      /* Interrupt vector */
  17:     struct handlers_s *dt_handlers; /* Interrupt handlers */
  18:     int dt_br;          /* Priority */
  19:     int (*dt_uprobe)();     /* User-level (internal) probe */
  20:     struct nlist *dt_probe;     /* Address of probe function */
  21:     struct nlist *dt_attach;    /* Address of attach function */
  22: };
  23: 
  24: struct dtab_s *devs;            /* Head of device list */

Defined variables

Defined struct's

dtab_s defined in line 11; used 26 times
handler_s defined in line 5; used 16 times

Usage of this include

Last modified: 1983-02-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 660
Valid CSS Valid XHTML 1.0 Strict