blob: 0d0b06e952a52bc147657ce79cce6bacc172f9a0 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sam Ravnborge1b2f1342014-04-21 21:39:17 +02002/* fault_32.c - visible as they are called from assembler */
3asmlinkage int lookup_fault(unsigned long pc, unsigned long ret_pc,
4 unsigned long address);
5asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
6 unsigned long address);
7
8void window_overflow_fault(void);
9void window_underflow_fault(unsigned long sp);
10void window_ret_fault(struct pt_regs *regs);
11
Sam Ravnborgaccf0322012-05-19 20:02:49 +000012/* srmmu.c */
13extern char *srmmu_name;
Sam Ravnborge8c29c82014-04-21 21:39:19 +020014extern int viking_mxcc_present;
15extern int flush_page_for_dma_global;
Sam Ravnborgaccf0322012-05-19 20:02:49 +000016
17extern void (*poke_srmmu)(void);
Sam Ravnborge8c29c82014-04-21 21:39:19 +020018
19void __init srmmu_paging_init(void);
Sam Ravnborga2b0aa92014-04-21 21:39:20 +020020
21/* iommu.c */
22void ld_mmu_iommu(void);
23
24/* io-unit.c */
25void ld_mmu_iounit(void);