1 /* Global variables used in RS. 2 */ 3 #ifndef RS_GLO_H 4 #define RS_GLO_H 5 6 #ifdef _TABLE 7 #undef EXTERN 8 #define EXTERN 9 #endif 10 11 #include <minix/param.h> 12 13 /* The boot image priv table. This table has entries for all system 14 * services in the boot image. 15 */ 16 extern struct boot_image_priv boot_image_priv_table[]; 17 18 /* The boot image sys table. This table has entries for system services in 19 * the boot image that override default sys properties. 20 */ 21 extern struct boot_image_sys boot_image_sys_table[]; 22 23 /* The boot image dev table. This table has entries for system services in 24 * the boot image that support dev properties. 25 */ 26 extern struct boot_image_dev boot_image_dev_table[]; 27 28 /* The system process table. This table only has entries for system 29 * services (servers and drivers), and thus is not directly indexed by 30 * slot number. The size of the table must match the size of the privilege 31 * table in the kernel. 32 */ 33 EXTERN struct rprocpub rprocpub[NR_SYS_PROCS]; /* public entries */ 34 EXTERN struct rproc rproc[NR_SYS_PROCS]; 35 EXTERN struct rproc *rproc_ptr[NR_PROCS]; /* mapping for fast access */ 36 37 /* Global init descriptor. This descriptor holds data to initialize system 38 * services. 39 */ 40 EXTERN sef_init_info_t rinit; 41 42 /* Global update descriptor. This descriptor holds data when a live update 43 * is in progress. 44 */ 45 EXTERN struct rupdate rupdate; 46 47 /* Enable/disable verbose output. */ 48 EXTERN long rs_verbose; 49 50 /* Set when we are shutting down. */ 51 EXTERN int shutting_down; 52 53 EXTERN unsigned system_hz; 54 55 EXTERN struct machine machine; /* machine info */ 56 57 #endif /* RS_GLO_H */ 58 59