Jayachandran C | 6ba045f | 2013-06-23 17:16:19 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * Micro-assembler generated tlb handler functions. |
| 7 | * |
| 8 | * Copyright (C) 2013 Broadcom Corporation. |
| 9 | * |
| 10 | * Based on mm/page-funcs.c |
| 11 | * Copyright (C) 2012 MIPS Technologies, Inc. |
| 12 | * Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org> |
| 13 | */ |
| 14 | #include <asm/asm.h> |
| 15 | #include <asm/regdef.h> |
| 16 | |
| 17 | #define FASTPATH_SIZE 128 |
| 18 | |
Steven J. Hill | 7bb3940 | 2014-04-10 14:06:17 -0500 | [diff] [blame] | 19 | EXPORT(tlbmiss_handler_setup_pgd_start) |
Jayachandran C | 6ba045f | 2013-06-23 17:16:19 +0000 | [diff] [blame] | 20 | LEAF(tlbmiss_handler_setup_pgd) |
Steven J. Hill | 7bb3940 | 2014-04-10 14:06:17 -0500 | [diff] [blame] | 21 | 1: j 1b /* Dummy, will be replaced. */ |
| 22 | .space 64 |
Jayachandran C | 6ba045f | 2013-06-23 17:16:19 +0000 | [diff] [blame] | 23 | END(tlbmiss_handler_setup_pgd) |
| 24 | EXPORT(tlbmiss_handler_setup_pgd_end) |
Jayachandran C | 6ba045f | 2013-06-23 17:16:19 +0000 | [diff] [blame] | 25 | |
| 26 | LEAF(handle_tlbm) |
| 27 | .space FASTPATH_SIZE * 4 |
| 28 | END(handle_tlbm) |
| 29 | EXPORT(handle_tlbm_end) |
| 30 | |
| 31 | LEAF(handle_tlbs) |
| 32 | .space FASTPATH_SIZE * 4 |
| 33 | END(handle_tlbs) |
| 34 | EXPORT(handle_tlbs_end) |
| 35 | |
| 36 | LEAF(handle_tlbl) |
| 37 | .space FASTPATH_SIZE * 4 |
| 38 | END(handle_tlbl) |
| 39 | EXPORT(handle_tlbl_end) |