xref: /OK3568_Linux_fs/kernel/arch/mips/mm/tlb-funcs.S (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * This file is subject to the terms and conditions of the GNU General Public
3*4882a593Smuzhiyun * License.  See the file "COPYING" in the main directory of this archive
4*4882a593Smuzhiyun * for more details.
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * Micro-assembler generated tlb handler functions.
7*4882a593Smuzhiyun *
8*4882a593Smuzhiyun * Copyright (C) 2013  Broadcom Corporation.
9*4882a593Smuzhiyun *
10*4882a593Smuzhiyun * Based on mm/page-funcs.c
11*4882a593Smuzhiyun * Copyright (C) 2012  MIPS Technologies, Inc.
12*4882a593Smuzhiyun * Copyright (C) 2012  Ralf Baechle <ralf@linux-mips.org>
13*4882a593Smuzhiyun */
14*4882a593Smuzhiyun#include <asm/asm.h>
15*4882a593Smuzhiyun#include <asm/export.h>
16*4882a593Smuzhiyun#include <asm/regdef.h>
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun#define FASTPATH_SIZE	128
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunLEAF(tlbmiss_handler_setup_pgd)
21*4882a593Smuzhiyun1:	j	1b		/* Dummy, will be replaced. */
22*4882a593Smuzhiyun	.space	64
23*4882a593SmuzhiyunEND(tlbmiss_handler_setup_pgd)
24*4882a593SmuzhiyunEXPORT(tlbmiss_handler_setup_pgd_end)
25*4882a593SmuzhiyunEXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunLEAF(handle_tlbm)
28*4882a593Smuzhiyun	.space		FASTPATH_SIZE * 4
29*4882a593SmuzhiyunEND(handle_tlbm)
30*4882a593SmuzhiyunEXPORT(handle_tlbm_end)
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunLEAF(handle_tlbs)
33*4882a593Smuzhiyun	.space		FASTPATH_SIZE * 4
34*4882a593SmuzhiyunEND(handle_tlbs)
35*4882a593SmuzhiyunEXPORT(handle_tlbs_end)
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunLEAF(handle_tlbl)
38*4882a593Smuzhiyun	.space		FASTPATH_SIZE * 4
39*4882a593SmuzhiyunEND(handle_tlbl)
40*4882a593SmuzhiyunEXPORT(handle_tlbl_end)
41