xref: /minix/minix/servers/rs/table.c (revision d2532d3d)
1 /* This file contains the definition of the boot image info tables.
2  *
3  * Changes:
4  *   Nov 22, 2009: Created  (Cristiano Giuffrida)
5  */
6 
7 #define _TABLE
8 
9 #include "inc.h"
10 
11 /* Definition of the boot image priv table. The order of entries in this table
12  * reflects the order boot system services are made runnable and initialized
13  * at boot time.
14  */
15 struct boot_image_priv boot_image_priv_table[] = {
16 /*endpoint,     label,   flags, */
17 {RS_PROC_NR,   "rs",     RSYS_F },
18 {VM_PROC_NR,   "vm",     VM_F   },
19 {PM_PROC_NR,   "pm",     SRV_F  },
20 {SCHED_PROC_NR,"sched",  SRV_F  },
21 {VFS_PROC_NR,  "vfs",    SRV_F  },
22 {DS_PROC_NR,   "ds",     SRV_F  },
23 {TTY_PROC_NR,  "tty",    SRV_F  },
24 {MEM_PROC_NR,  "memory", SRV_F  },
25 {MIB_PROC_NR,  "mib",    SRV_F  },
26 {PFS_PROC_NR,  "pfs",    SRV_F  },
27 {MFS_PROC_NR,"fs_imgrd", SRV_F  },
28 {INIT_PROC_NR, "init",   USR_F  },
29 {NULL_BOOT_NR, "",       0,     } /* null entry */
30 };
31 
32 /* Definition of the boot image sys table. */
33 struct boot_image_sys boot_image_sys_table[] = {
34   /*endpoint,         flags                             */
35   { RS_PROC_NR,       SRVR_SF                           },
36   { VM_PROC_NR,       VM_SF                             },
37   { PM_PROC_NR,       SRVR_SF                           },
38   { SCHED_PROC_NR,    SRVR_SF                           },
39   { VFS_PROC_NR,      SRVR_SF                           },
40   { MFS_PROC_NR,      0                                 },
41   { DEFAULT_BOOT_NR,  SRV_SF                            } /* default entry */
42 };
43 
44 /* Definition of the boot image dev table. */
45 struct boot_image_dev boot_image_dev_table[] = {
46   /*endpoint,        dev_nr       */
47   { TTY_PROC_NR,     TTY_MAJOR    },
48   { MEM_PROC_NR,     MEMORY_MAJOR },
49   { DEFAULT_BOOT_NR, 0            } /* default entry */
50 };
51