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 {MFS_PROC_NR,"fs_imgrd", SRV_F }, 26 {PFS_PROC_NR, "pfs", SRV_F }, 27 {INIT_PROC_NR, "init", USR_F }, 28 {NULL_BOOT_NR, "", 0, } /* null entry */ 29 }; 30 31 /* Definition of the boot image sys table. */ 32 struct boot_image_sys boot_image_sys_table[] = { 33 /*endpoint, flags */ 34 { RS_PROC_NR, SRVR_SF }, 35 { VM_PROC_NR, VM_SF }, 36 { PM_PROC_NR, SRVR_SF }, 37 { SCHED_PROC_NR, SRVR_SF }, 38 { VFS_PROC_NR, SRVR_SF }, 39 { MFS_PROC_NR, 0 }, 40 { PFS_PROC_NR, SRV_SF }, 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