xref: /minix3/minix/servers/rs/table.c (revision e4e21ee1b2710f3d411514741ce10d80156f4b5d)
1433d6423SLionel Sambuc /* This file contains the definition of the boot image info tables.
2433d6423SLionel Sambuc  *
3433d6423SLionel Sambuc  * Changes:
4433d6423SLionel Sambuc  *   Nov 22, 2009: Created  (Cristiano Giuffrida)
5433d6423SLionel Sambuc  */
6433d6423SLionel Sambuc 
7433d6423SLionel Sambuc #define _TABLE
8433d6423SLionel Sambuc 
9433d6423SLionel Sambuc #include "inc.h"
10433d6423SLionel Sambuc 
11433d6423SLionel Sambuc /* Definition of the boot image priv table. The order of entries in this table
12433d6423SLionel Sambuc  * reflects the order boot system services are made runnable and initialized
13433d6423SLionel Sambuc  * at boot time.
14433d6423SLionel Sambuc  */
15433d6423SLionel Sambuc struct boot_image_priv boot_image_priv_table[] = {
16433d6423SLionel Sambuc /*endpoint,     label,   flags, */
17433d6423SLionel Sambuc {RS_PROC_NR,   "rs",     RSYS_F },
18433d6423SLionel Sambuc {VM_PROC_NR,   "vm",     VM_F   },
19433d6423SLionel Sambuc {PM_PROC_NR,   "pm",     SRV_F  },
20433d6423SLionel Sambuc {SCHED_PROC_NR,"sched",  SRV_F  },
21433d6423SLionel Sambuc {VFS_PROC_NR,  "vfs",    SRV_F  },
22433d6423SLionel Sambuc {DS_PROC_NR,   "ds",     SRV_F  },
23433d6423SLionel Sambuc {TTY_PROC_NR,  "tty",    SRV_F  },
24433d6423SLionel Sambuc {MEM_PROC_NR,  "memory", SRV_F  },
25*e4e21ee1SDavid van Moolenbroek {MIB_PROC_NR,  "mib",    SRV_F  },
26433d6423SLionel Sambuc {PFS_PROC_NR,  "pfs",    SRV_F  },
27*e4e21ee1SDavid van Moolenbroek {MFS_PROC_NR,"fs_imgrd", SRV_F  },
28433d6423SLionel Sambuc {INIT_PROC_NR, "init",   USR_F  },
29433d6423SLionel Sambuc {NULL_BOOT_NR, "",       0,     } /* null entry */
30433d6423SLionel Sambuc };
31433d6423SLionel Sambuc 
32433d6423SLionel Sambuc /* Definition of the boot image sys table. */
33433d6423SLionel Sambuc struct boot_image_sys boot_image_sys_table[] = {
34433d6423SLionel Sambuc   /*endpoint,         flags                             */
35433d6423SLionel Sambuc   { RS_PROC_NR,       SRVR_SF                           },
36433d6423SLionel Sambuc   { VM_PROC_NR,       VM_SF                             },
37433d6423SLionel Sambuc   { PM_PROC_NR,       SRVR_SF                           },
38dc76d7e9SCristiano Giuffrida   { SCHED_PROC_NR,    SRVR_SF                           },
39433d6423SLionel Sambuc   { VFS_PROC_NR,      SRVR_SF                           },
40433d6423SLionel Sambuc   { MFS_PROC_NR,      0                                 },
41433d6423SLionel Sambuc   { DEFAULT_BOOT_NR,  SRV_SF                            } /* default entry */
42433d6423SLionel Sambuc };
43433d6423SLionel Sambuc 
44433d6423SLionel Sambuc /* Definition of the boot image dev table. */
45433d6423SLionel Sambuc struct boot_image_dev boot_image_dev_table[] = {
46433d6423SLionel Sambuc   /*endpoint,        dev_nr       */
47433d6423SLionel Sambuc   { TTY_PROC_NR,     TTY_MAJOR    },
48433d6423SLionel Sambuc   { MEM_PROC_NR,     MEMORY_MAJOR },
49433d6423SLionel Sambuc   { DEFAULT_BOOT_NR, 0            } /* default entry */
50433d6423SLionel Sambuc };
51