OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3eab2
)
[MIPS] Provide access functions for c0_badvaddr.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 29 Mar 2006 17:51:06 +0000
(18:51 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:13 +0000
(
04:14
+0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/mipsregs.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/mipsregs.h
b/include/asm-mips/mipsregs.h
index
035ba0a
..
e85a42e
100644
(file)
--- a/
include/asm-mips/mipsregs.h
+++ b/
include/asm-mips/mipsregs.h
@@
-836,6
+836,9
@@
do { \
#define read_c0_cache() __read_32bit_c0_register($7, 0) /* TX39xx */
#define write_c0_cache(val) __write_32bit_c0_register($7, 0, val)
+#define read_c0_badvaddr() __read_ulong_c0_register($8, 0)
+#define write_c0_badvaddr(val) __write_ulong_c0_register($8, 0, val)
+
#define read_c0_count() __read_32bit_c0_register($9, 0)
#define write_c0_count(val) __write_32bit_c0_register($9, 0, val)