rs: stacktrace if system process exits early.
[minix.git] / servers / rs / glo.h
bloba6b897a79bcf0c77e27b5418cefa3c226486bf1d
1 /* Global variables used in RS.
2 */
3 #ifndef RS_GLO_H
4 #define RS_GLO_H
6 #ifdef _TABLE
7 #undef EXTERN
8 #define EXTERN
9 #endif
11 /* The boot image priv table. This table has entries for all system
12 * services in the boot image.
14 extern struct boot_image_priv boot_image_priv_table[];
16 /* The boot image sys table. This table has entries for system services in
17 * the boot image that override default sys properties.
19 extern struct boot_image_sys boot_image_sys_table[];
21 /* The boot image dev table. This table has entries for system services in
22 * the boot image that support dev properties.
24 extern struct boot_image_dev boot_image_dev_table[];
26 /* The buffer where the boot image is copied during initialization. */
27 EXTERN int boot_image_buffer_size;
28 EXTERN char *boot_image_buffer;
30 /* The system process table. This table only has entries for system
31 * services (servers and drivers), and thus is not directly indexed by
32 * slot number. The size of the table must match the size of the privilege
33 * table in the kernel.
35 EXTERN struct rprocpub rprocpub[NR_SYS_PROCS]; /* public entries */
36 EXTERN struct rproc rproc[NR_SYS_PROCS];
37 EXTERN struct rproc *rproc_ptr[NR_PROCS]; /* mapping for fast access */
39 /* Global init descriptor. This descriptor holds data to initialize system
40 * services.
42 EXTERN sef_init_info_t rinit;
44 /* Global update descriptor. This descriptor holds data when a live update
45 * is in progress.
47 EXTERN struct rupdate rupdate;
49 /* Enable/disable verbose output. */
50 EXTERN long rs_verbose;
52 /* Set when we are shutting down. */
53 EXTERN int shutting_down;
55 #endif /* RS_GLO_H */