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