tlb-funcs.S 945 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 <ralf@linux-mips.org>
  13. */
  14. #include <asm/asm.h>
  15. #include <asm/regdef.h>
  16. #define FASTPATH_SIZE 128
  17. EXPORT(tlbmiss_handler_setup_pgd_start)
  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. LEAF(handle_tlbm)
  24. .space FASTPATH_SIZE * 4
  25. END(handle_tlbm)
  26. EXPORT(handle_tlbm_end)
  27. LEAF(handle_tlbs)
  28. .space FASTPATH_SIZE * 4
  29. END(handle_tlbs)
  30. EXPORT(handle_tlbs_end)
  31. LEAF(handle_tlbl)
  32. .space FASTPATH_SIZE * 4
  33. END(handle_tlbl)
  34. EXPORT(handle_tlbl_end)