xref: /kernel/linux/linux-6.6/arch/mips/mm/tlb-funcs.S (revision 62306a36)
162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
362306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
462306a36Sopenharmony_ci * for more details.
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci * Micro-assembler generated tlb handler functions.
762306a36Sopenharmony_ci *
862306a36Sopenharmony_ci * Copyright (C) 2013  Broadcom Corporation.
962306a36Sopenharmony_ci *
1062306a36Sopenharmony_ci * Based on mm/page-funcs.c
1162306a36Sopenharmony_ci * Copyright (C) 2012  MIPS Technologies, Inc.
1262306a36Sopenharmony_ci * Copyright (C) 2012  Ralf Baechle <ralf@linux-mips.org>
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci#include <linux/export.h>
1562306a36Sopenharmony_ci#include <asm/asm.h>
1662306a36Sopenharmony_ci#include <asm/regdef.h>
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#define FASTPATH_SIZE	128
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciLEAF(tlbmiss_handler_setup_pgd)
2162306a36Sopenharmony_ci1:	j	1b		/* Dummy, will be replaced. */
2262306a36Sopenharmony_ci	.space	64
2362306a36Sopenharmony_ciEND(tlbmiss_handler_setup_pgd)
2462306a36Sopenharmony_ciEXPORT(tlbmiss_handler_setup_pgd_end)
2562306a36Sopenharmony_ciEXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciLEAF(handle_tlbm)
2862306a36Sopenharmony_ci	.space		FASTPATH_SIZE * 4
2962306a36Sopenharmony_ciEND(handle_tlbm)
3062306a36Sopenharmony_ciEXPORT(handle_tlbm_end)
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciLEAF(handle_tlbs)
3362306a36Sopenharmony_ci	.space		FASTPATH_SIZE * 4
3462306a36Sopenharmony_ciEND(handle_tlbs)
3562306a36Sopenharmony_ciEXPORT(handle_tlbs_end)
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciLEAF(handle_tlbl)
3862306a36Sopenharmony_ci	.space		FASTPATH_SIZE * 4
3962306a36Sopenharmony_ciEND(handle_tlbl)
4062306a36Sopenharmony_ciEXPORT(handle_tlbl_end)
41