mkfs: drop support for running on DOS
[minix.git] / servers / rs / glo.h
blob938e55f97a1c8366abb2671ab87a1b6ac49576d5
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 #include <minix/param.h>
13 /* The boot image priv table. This table has entries for all system
14 * services in the boot image.
16 extern struct boot_image_priv boot_image_priv_table[];
18 /* The boot image sys table. This table has entries for system services in
19 * the boot image that override default sys properties.
21 extern struct boot_image_sys boot_image_sys_table[];
23 /* The boot image dev table. This table has entries for system services in
24 * the boot image that support dev properties.
26 extern struct boot_image_dev boot_image_dev_table[];
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.
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 */
37 /* Global init descriptor. This descriptor holds data to initialize system
38 * services.
40 EXTERN sef_init_info_t rinit;
42 /* Global update descriptor. This descriptor holds data when a live update
43 * is in progress.
45 EXTERN struct rupdate rupdate;
47 /* Enable/disable verbose output. */
48 EXTERN long rs_verbose;
50 /* Set when we are shutting down. */
51 EXTERN int shutting_down;
53 EXTERN unsigned system_hz;
55 EXTERN struct machine machine; /* machine info */
57 EXTERN struct kinfo kinfo; /* kernel information */
59 #endif /* RS_GLO_H */