18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
38c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
48c2ecf20Sopenharmony_ci * for more details.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Micro-assembler generated tlb handler functions.
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * Copyright (C) 2013  Broadcom Corporation.
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci * Based on mm/page-funcs.c
118c2ecf20Sopenharmony_ci * Copyright (C) 2012  MIPS Technologies, Inc.
128c2ecf20Sopenharmony_ci * Copyright (C) 2012  Ralf Baechle <ralf@linux-mips.org>
138c2ecf20Sopenharmony_ci */
148c2ecf20Sopenharmony_ci#include <asm/asm.h>
158c2ecf20Sopenharmony_ci#include <asm/export.h>
168c2ecf20Sopenharmony_ci#include <asm/regdef.h>
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#define FASTPATH_SIZE	128
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciLEAF(tlbmiss_handler_setup_pgd)
218c2ecf20Sopenharmony_ci1:	j	1b		/* Dummy, will be replaced. */
228c2ecf20Sopenharmony_ci	.space	64
238c2ecf20Sopenharmony_ciEND(tlbmiss_handler_setup_pgd)
248c2ecf20Sopenharmony_ciEXPORT(tlbmiss_handler_setup_pgd_end)
258c2ecf20Sopenharmony_ciEXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciLEAF(handle_tlbm)
288c2ecf20Sopenharmony_ci	.space		FASTPATH_SIZE * 4
298c2ecf20Sopenharmony_ciEND(handle_tlbm)
308c2ecf20Sopenharmony_ciEXPORT(handle_tlbm_end)
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciLEAF(handle_tlbs)
338c2ecf20Sopenharmony_ci	.space		FASTPATH_SIZE * 4
348c2ecf20Sopenharmony_ciEND(handle_tlbs)
358c2ecf20Sopenharmony_ciEXPORT(handle_tlbs_end)
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciLEAF(handle_tlbl)
388c2ecf20Sopenharmony_ci	.space		FASTPATH_SIZE * 4
398c2ecf20Sopenharmony_ciEND(handle_tlbl)
408c2ecf20Sopenharmony_ciEXPORT(handle_tlbl_end)
41