tlb-funcs.S 974 B

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