2009-06-12 07:01:00 -07:00
|
|
|
#ifndef _ASM_SCORE_SETUP_H
|
|
|
|
#define _ASM_SCORE_SETUP_H
|
|
|
|
|
|
|
|
#define COMMAND_LINE_SIZE 256
|
2009-08-29 21:31:58 -07:00
|
|
|
#define MEMORY_START 0
|
|
|
|
#define MEMORY_SIZE 0x2000000
|
2009-06-12 07:01:00 -07:00
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
|
|
extern void pagetable_init(void);
|
|
|
|
extern void pgd_init(unsigned long page);
|
|
|
|
|
|
|
|
extern void setup_early_printk(void);
|
|
|
|
extern void cpu_cache_init(void);
|
|
|
|
extern void tlb_init(void);
|
|
|
|
|
|
|
|
extern void handle_nmi(void);
|
|
|
|
extern void handle_adelinsn(void);
|
|
|
|
extern void handle_adedata(void);
|
|
|
|
extern void handle_ibe(void);
|
|
|
|
extern void handle_pel(void);
|
|
|
|
extern void handle_sys(void);
|
|
|
|
extern void handle_ccu(void);
|
|
|
|
extern void handle_ri(void);
|
|
|
|
extern void handle_tr(void);
|
|
|
|
extern void handle_ades(void);
|
|
|
|
extern void handle_cee(void);
|
|
|
|
extern void handle_cpe(void);
|
|
|
|
extern void handle_dve(void);
|
|
|
|
extern void handle_dbe(void);
|
|
|
|
extern void handle_reserved(void);
|
|
|
|
extern void handle_tlb_refill(void);
|
|
|
|
extern void handle_tlb_invaild(void);
|
|
|
|
extern void handle_mod(void);
|
|
|
|
extern void debug_exception_vector(void);
|
|
|
|
extern void general_exception_vector(void);
|
|
|
|
extern void interrupt_exception_vector(void);
|
|
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
|
|
#endif /* _ASM_SCORE_SETUP_H */
|