1*433d6423SLionel Sambuc /* EXTERN should be extern except in table.c */ 2*433d6423SLionel Sambuc #ifdef _TABLE 3*433d6423SLionel Sambuc #undef EXTERN 4*433d6423SLionel Sambuc #define EXTERN 5*433d6423SLionel Sambuc #endif 6*433d6423SLionel Sambuc 7*433d6423SLionel Sambuc /* Global variables. */ 8*433d6423SLionel Sambuc EXTERN struct mproc *mp; /* ptr to 'mproc' slot of current process */ 9*433d6423SLionel Sambuc EXTERN int procs_in_use; /* how many processes are marked as IN_USE */ 10*433d6423SLionel Sambuc EXTERN char monitor_params[MULTIBOOT_PARAM_BUF_SIZE]; 11*433d6423SLionel Sambuc 12*433d6423SLionel Sambuc /* Misc.c */ 13*433d6423SLionel Sambuc extern struct utsname uts_val; /* uname info */ 14*433d6423SLionel Sambuc 15*433d6423SLionel Sambuc /* The parameters of the call are kept here. */ 16*433d6423SLionel Sambuc EXTERN message m_in; /* the incoming message itself is kept here. */ 17*433d6423SLionel Sambuc EXTERN int who_p, who_e; /* caller's proc number, endpoint */ 18*433d6423SLionel Sambuc EXTERN int call_nr; /* system call number */ 19*433d6423SLionel Sambuc 20*433d6423SLionel Sambuc extern int (* const call_vec[])(void); 21*433d6423SLionel Sambuc EXTERN sigset_t core_sset; /* which signals cause core images */ 22*433d6423SLionel Sambuc EXTERN sigset_t ign_sset; /* which signals are by default ignored */ 23*433d6423SLionel Sambuc EXTERN sigset_t noign_sset; /* which signals cannot be ignored */ 24*433d6423SLionel Sambuc 25*433d6423SLionel Sambuc EXTERN u32_t system_hz; /* System clock frequency. */ 26*433d6423SLionel Sambuc EXTERN int abort_flag; 27*433d6423SLionel Sambuc 28*433d6423SLionel Sambuc EXTERN struct machine machine; /* machine info */ 29*433d6423SLionel Sambuc #ifdef CONFIG_SMP 30*433d6423SLionel Sambuc EXTERN int cpu_proc[CONFIG_MAX_CPUS]; 31*433d6423SLionel Sambuc #endif 32