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
6 * Copyright (C) 1999 Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
9 #include <linux/init.h>
10 #include <asm/mipsregs.h>
11 #include <asm/regdef.h>
12 #include <asm/stackframe.h>
26 .macro tlb_handler name interruptible writebit
27 NESTED(__\name, PT_SIZE, sp)
29 dmfc0 a2, CP0_BADVADDR
30 __BUILD_\interruptible
39 tlb_handler xtlb_mod kmode 1
40 tlb_handler xtlb_tlbl kmode 0
41 tlb_handler xtlb_tlbs kmode 1