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
devs
defined in line
24; used 5 times
Defined struct's
dtab_s
defined in line
11; used 26 times
Usage of this include