1 /* 1 /* 2 * This file is subject to the terms and condi 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the mai 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 4 * for more details. 5 * 5 * 6 * Micro-assembler generated tlb handler funct 6 * Micro-assembler generated tlb handler functions. 7 * 7 * 8 * Copyright (C) 2013 Broadcom Corporation. 8 * Copyright (C) 2013 Broadcom Corporation. 9 * 9 * 10 * Based on mm/page-funcs.c 10 * Based on mm/page-funcs.c 11 * Copyright (C) 2012 MIPS Technologies, Inc. 11 * Copyright (C) 2012 MIPS Technologies, Inc. 12 * Copyright (C) 2012 Ralf Baechle <ralf@linux 12 * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> 13 */ 13 */ 14 #include <linux/export.h> 14 #include <linux/export.h> 15 #include <asm/asm.h> 15 #include <asm/asm.h> 16 #include <asm/regdef.h> 16 #include <asm/regdef.h> 17 17 18 #define FASTPATH_SIZE 128 18 #define FASTPATH_SIZE 128 19 19 20 LEAF(tlbmiss_handler_setup_pgd) 20 LEAF(tlbmiss_handler_setup_pgd) 21 1: j 1b /* Dummy, will 21 1: j 1b /* Dummy, will be replaced. */ 22 .space 64 22 .space 64 23 END(tlbmiss_handler_setup_pgd) 23 END(tlbmiss_handler_setup_pgd) 24 EXPORT(tlbmiss_handler_setup_pgd_end) 24 EXPORT(tlbmiss_handler_setup_pgd_end) 25 EXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd) 25 EXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd) 26 26 27 LEAF(handle_tlbm) 27 LEAF(handle_tlbm) 28 .space FASTPATH_SIZE * 4 28 .space FASTPATH_SIZE * 4 29 END(handle_tlbm) 29 END(handle_tlbm) 30 EXPORT(handle_tlbm_end) 30 EXPORT(handle_tlbm_end) 31 31 32 LEAF(handle_tlbs) 32 LEAF(handle_tlbs) 33 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 34 END(handle_tlbs) 34 END(handle_tlbs) 35 EXPORT(handle_tlbs_end) 35 EXPORT(handle_tlbs_end) 36 36 37 LEAF(handle_tlbl) 37 LEAF(handle_tlbl) 38 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4 39 END(handle_tlbl) 39 END(handle_tlbl) 40 EXPORT(handle_tlbl_end) 40 EXPORT(handle_tlbl_end)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.