xref: /openbmc/linux/arch/sparc/mm/mm_32.h (revision ae213c44)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* fault_32.c - visible as they are called from assembler */
3 asmlinkage int lookup_fault(unsigned long pc, unsigned long ret_pc,
4                             unsigned long address);
5 asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
6                                unsigned long address);
7 
8 void window_overflow_fault(void);
9 void window_underflow_fault(unsigned long sp);
10 void window_ret_fault(struct pt_regs *regs);
11 
12 /* srmmu.c */
13 extern char *srmmu_name;
14 extern int viking_mxcc_present;
15 extern int flush_page_for_dma_global;
16 
17 extern void (*poke_srmmu)(void);
18 
19 void __init srmmu_paging_init(void);
20 
21 /* iommu.c */
22 void ld_mmu_iommu(void);
23 
24 /* io-unit.c */
25 void ld_mmu_iounit(void);
26