Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Sam Ravnborg | e1b2f134 | 2014-04-21 21:39:17 +0200 | [diff] [blame] | 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 | |
Sam Ravnborg | accf032 | 2012-05-19 20:02:49 +0000 | [diff] [blame] | 12 | /* srmmu.c */ |
| 13 | extern char *srmmu_name; |
Sam Ravnborg | e8c29c8 | 2014-04-21 21:39:19 +0200 | [diff] [blame] | 14 | extern int viking_mxcc_present; |
| 15 | extern int flush_page_for_dma_global; |
Sam Ravnborg | accf032 | 2012-05-19 20:02:49 +0000 | [diff] [blame] | 16 | |
| 17 | extern void (*poke_srmmu)(void); |
Sam Ravnborg | e8c29c8 | 2014-04-21 21:39:19 +0200 | [diff] [blame] | 18 | |
| 19 | void __init srmmu_paging_init(void); |
Sam Ravnborg | a2b0aa9 | 2014-04-21 21:39:20 +0200 | [diff] [blame] | 20 | |
| 21 | /* iommu.c */ |
| 22 | void ld_mmu_iommu(void); |
| 23 | |
| 24 | /* io-unit.c */ |
| 25 | void ld_mmu_iounit(void); |