1 #ifndef _MIPS_SETUP_H 2 #define _MIPS_SETUP_H 3 4 #define COMMAND_LINE_SIZE 4096 5 6 #ifdef __KERNEL__ 7 extern void setup_early_printk(void); 8 9 extern void set_handler(unsigned long offset, void *addr, unsigned long len); 10 extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); 11 12 typedef void (*vi_handler_t)(void); 13 extern void *set_vi_handler(int n, vi_handler_t addr); 14 15 extern void *set_except_vector(int n, void *addr); 16 extern unsigned long ebase; 17 extern void per_cpu_trap_init(void); 18 19 #endif /* __KERNEL__ */ 20 21 #endif /* __SETUP_H */ 22