2009-06-12 22:01:00 +08:00
|
|
|
#ifndef _ASM_SCORE_SETUP_H
|
|
|
|
#define _ASM_SCORE_SETUP_H
|
|
|
|
|
|
|
|
#define COMMAND_LINE_SIZE 256
|
2009-08-30 12:31:58 +08:00
|
|
|
#define MEMORY_START 0
|
|
|
|
#define MEMORY_SIZE 0x2000000
|
2009-06-12 22:01:00 +08: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 */
|