blob: 00fef578c8cdcfbc1359e476255d81f5c6cd4363 [file] [log] [blame]
Jayachandran C6ba045f2013-06-23 17:16:19 +00001/*
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>
Paul Burtonb29fea32018-08-10 15:24:39 -070015#include <asm/export.h>
Jayachandran C6ba045f2013-06-23 17:16:19 +000016#include <asm/regdef.h>
17
18#define FASTPATH_SIZE 128
19
20LEAF(tlbmiss_handler_setup_pgd)
Steven J. Hill7bb39402014-04-10 14:06:17 -0500211: j 1b /* Dummy, will be replaced. */
22 .space 64
Jayachandran C6ba045f2013-06-23 17:16:19 +000023END(tlbmiss_handler_setup_pgd)
24EXPORT(tlbmiss_handler_setup_pgd_end)
Paul Burtonb29fea32018-08-10 15:24:39 -070025EXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
Jayachandran C6ba045f2013-06-23 17:16:19 +000026
27LEAF(handle_tlbm)
28 .space FASTPATH_SIZE * 4
29END(handle_tlbm)
30EXPORT(handle_tlbm_end)
31
32LEAF(handle_tlbs)
33 .space FASTPATH_SIZE * 4
34END(handle_tlbs)
35EXPORT(handle_tlbs_end)
36
37LEAF(handle_tlbl)
38 .space FASTPATH_SIZE * 4
39END(handle_tlbl)
40EXPORT(handle_tlbl_end)