Root/
Source at commit 694c7fbe86b8a9c91392e505afcb9fcfc91deccc created 12 years 8 months ago. By Maarten ter Huurne, MIPS: JZ4740: Add cpufreq support | |
---|---|
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 | * Copyright (C) 1999 Ralf Baechle |
7 | * Copyright (C) 1999 Silicon Graphics, Inc. |
8 | */ |
9 | #include <asm/mipsregs.h> |
10 | #include <asm/regdef.h> |
11 | #include <asm/stackframe.h> |
12 | |
13 | .macro tlb_do_page_fault, write |
14 | NESTED(tlb_do_page_fault_\write, PT_SIZE, sp) |
15 | SAVE_ALL |
16 | MFC0 a2, CP0_BADVADDR |
17 | KMODE |
18 | move a0, sp |
19 | REG_S a2, PT_BVADDR(sp) |
20 | li a1, \write |
21 | PTR_LA ra, ret_from_exception |
22 | j do_page_fault |
23 | END(tlb_do_page_fault_\write) |
24 | .endm |
25 | |
26 | tlb_do_page_fault 0 |
27 | tlb_do_page_fault 1 |
28 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9