Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Micro-assembler generated tlb handler functions.
0007  *
0008  * Copyright (C) 2013  Broadcom Corporation.
0009  *
0010  * Based on mm/page-funcs.c
0011  * Copyright (C) 2012  MIPS Technologies, Inc.
0012  * Copyright (C) 2012  Ralf Baechle <ralf@linux-mips.org>
0013  */
0014 #include <asm/asm.h>
0015 #include <asm/export.h>
0016 #include <asm/regdef.h>
0017 
0018 #define FASTPATH_SIZE   128
0019 
0020 LEAF(tlbmiss_handler_setup_pgd)
0021 1:  j   1b      /* Dummy, will be replaced. */
0022     .space  64
0023 END(tlbmiss_handler_setup_pgd)
0024 EXPORT(tlbmiss_handler_setup_pgd_end)
0025 EXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
0026 
0027 LEAF(handle_tlbm)
0028     .space      FASTPATH_SIZE * 4
0029 END(handle_tlbm)
0030 EXPORT(handle_tlbm_end)
0031 
0032 LEAF(handle_tlbs)
0033     .space      FASTPATH_SIZE * 4
0034 END(handle_tlbs)
0035 EXPORT(handle_tlbs_end)
0036 
0037 LEAF(handle_tlbl)
0038     .space      FASTPATH_SIZE * 4
0039 END(handle_tlbl)
0040 EXPORT(handle_tlbl_end)