diff options
Diffstat (limited to 'include/asm-blackfin/bfin-global.h')
-rw-r--r-- | include/asm-blackfin/bfin-global.h | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h index 320aa5e167e9..7ba70de66f2b 100644 --- a/include/asm-blackfin/bfin-global.h +++ b/include/asm-blackfin/bfin-global.h | |||
@@ -56,37 +56,20 @@ extern void dump_bfin_process(struct pt_regs *regs); | |||
56 | extern void dump_bfin_mem(struct pt_regs *regs); | 56 | extern void dump_bfin_mem(struct pt_regs *regs); |
57 | extern void dump_bfin_trace_buffer(void); | 57 | extern void dump_bfin_trace_buffer(void); |
58 | 58 | ||
59 | /* init functions only */ | ||
59 | extern int init_arch_irq(void); | 60 | extern int init_arch_irq(void); |
60 | extern void bfin_reset(void); | ||
61 | extern void _cplb_hdr(void); | ||
62 | /* Blackfin cache functions */ | ||
63 | extern void bfin_icache_init(void); | 61 | extern void bfin_icache_init(void); |
64 | extern void bfin_dcache_init(void); | 62 | extern void bfin_dcache_init(void); |
65 | extern int read_iloc(void); | ||
66 | extern int bfin_console_init(void); | ||
67 | extern asmlinkage void lower_to_irq14(void); | ||
68 | extern asmlinkage void bfin_return_from_exception(void); | ||
69 | extern void init_exception_vectors(void); | 63 | extern void init_exception_vectors(void); |
70 | extern void init_dma(void); | ||
71 | extern void program_IAR(void); | 64 | extern void program_IAR(void); |
72 | extern void evt14_softirq(void); | 65 | |
66 | extern void bfin_reset(void); | ||
67 | extern asmlinkage void lower_to_irq14(void); | ||
68 | extern asmlinkage void bfin_return_from_exception(void); | ||
69 | extern asmlinkage void evt14_softirq(void); | ||
73 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); | 70 | extern asmlinkage void asm_do_IRQ(unsigned int irq, struct pt_regs *regs); |
74 | extern void bfin_gpio_interrupt_setup(int irq, int irq_pfx, int type); | ||
75 | extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); | 71 | extern int bfin_internal_set_wake(unsigned int irq, unsigned int state); |
76 | 72 | ||
77 | extern asmlinkage void finish_atomic_sections (struct pt_regs *regs); | ||
78 | extern char fixed_code_start; | ||
79 | extern char fixed_code_end; | ||
80 | extern int atomic_xchg32(void); | ||
81 | extern int atomic_cas32(void); | ||
82 | extern int atomic_add32(void); | ||
83 | extern int atomic_sub32(void); | ||
84 | extern int atomic_ior32(void); | ||
85 | extern int atomic_and32(void); | ||
86 | extern int atomic_xor32(void); | ||
87 | extern void safe_user_instruction(void); | ||
88 | extern void sigreturn_stub(void); | ||
89 | |||
90 | extern void *l1_data_A_sram_alloc(size_t); | 73 | extern void *l1_data_A_sram_alloc(size_t); |
91 | extern void *l1_data_B_sram_alloc(size_t); | 74 | extern void *l1_data_B_sram_alloc(size_t); |
92 | extern void *l1_inst_sram_alloc(size_t); | 75 | extern void *l1_inst_sram_alloc(size_t); |
@@ -110,11 +93,10 @@ extern void *sram_alloc_with_lsl(size_t, unsigned long); | |||
110 | extern int sram_free_with_lsl(const void*); | 93 | extern int sram_free_with_lsl(const void*); |
111 | 94 | ||
112 | extern const char bfin_board_name[]; | 95 | extern const char bfin_board_name[]; |
113 | extern unsigned long wall_jiffies; | ||
114 | 96 | ||
115 | extern unsigned long bfin_sic_iwr[]; | 97 | extern unsigned long bfin_sic_iwr[]; |
98 | extern unsigned vr_wakeup; | ||
116 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ | 99 | extern u16 _bfin_swrst; /* shadow for Software Reset Register (SWRST) */ |
117 | extern struct file_operations dpmc_fops; | ||
118 | extern unsigned long _ramstart, _ramend, _rambase; | 100 | extern unsigned long _ramstart, _ramend, _rambase; |
119 | extern unsigned long memory_start, memory_end, physical_mem_end; | 101 | extern unsigned long memory_start, memory_end, physical_mem_end; |
120 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | 102 | extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], |
@@ -122,8 +104,12 @@ extern char _stext_l1[], _etext_l1[], _sdata_l1[], _edata_l1[], _sbss_l1[], | |||
122 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], | 104 | _stext_l2[], _etext_l2[], _sdata_l2[], _edata_l2[], _sbss_l2[], |
123 | _ebss_l2[], _l2_lma_start[]; | 105 | _ebss_l2[], _l2_lma_start[]; |
124 | 106 | ||
125 | #ifdef CONFIG_MTD_UCLINUX | 107 | /* only used when CONFIG_MTD_UCLINUX */ |
126 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; | 108 | extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; |
109 | |||
110 | #ifdef CONFIG_BFIN_ICACHE_LOCK | ||
111 | extern void cache_grab_lock(int way); | ||
112 | extern void cache_lock(int way); | ||
127 | #endif | 113 | #endif |
128 | 114 | ||
129 | #endif | 115 | #endif |