diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-06-19 14:26:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 00:44:53 -0400 |
commit | a00736e936c2a1e9c36f22f6f3a69392eaab51f4 (patch) | |
tree | 4fd3d203dbc30d50a1b0c1acce2957e082a75173 /include/asm-sparc/lsu.h | |
parent | bdc3135ac99efd59de084a309751ec76887e62d8 (diff) |
sparc: copy sparc64 specific files to asm-sparc
Used the following script to copy the files:
cd include
set -e
SPARC64=`ls asm-sparc64`
for FILE in ${SPARC64}; do
if [ -f asm-sparc/$FILE ]; then
echo $FILE exist in asm-sparc
else
git mv asm-sparc64/$FILE asm-sparc/$FILE
printf "#include <asm-sparc/$FILE>\n" > asm-sparc64/$FILE
git add asm-sparc64/$FILE
fi
done
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/asm-sparc/lsu.h')
-rw-r--r-- | include/asm-sparc/lsu.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-sparc/lsu.h b/include/asm-sparc/lsu.h new file mode 100644 index 00000000000..7190f8de90a --- /dev/null +++ b/include/asm-sparc/lsu.h | |||
@@ -0,0 +1,19 @@ | |||
1 | #ifndef _SPARC64_LSU_H | ||
2 | #define _SPARC64_LSU_H | ||
3 | |||
4 | #include <linux/const.h> | ||
5 | |||
6 | /* LSU Control Register */ | ||
7 | #define LSU_CONTROL_PM _AC(0x000001fe00000000,UL) /* Phys-watchpoint byte mask*/ | ||
8 | #define LSU_CONTROL_VM _AC(0x00000001fe000000,UL) /* Virt-watchpoint byte mask*/ | ||
9 | #define LSU_CONTROL_PR _AC(0x0000000001000000,UL) /* Phys-rd watchpoint enable*/ | ||
10 | #define LSU_CONTROL_PW _AC(0x0000000000800000,UL) /* Phys-wr watchpoint enable*/ | ||
11 | #define LSU_CONTROL_VR _AC(0x0000000000400000,UL) /* Virt-rd watchpoint enable*/ | ||
12 | #define LSU_CONTROL_VW _AC(0x0000000000200000,UL) /* Virt-wr watchpoint enable*/ | ||
13 | #define LSU_CONTROL_FM _AC(0x00000000000ffff0,UL) /* Parity mask enables. */ | ||
14 | #define LSU_CONTROL_DM _AC(0x0000000000000008,UL) /* Data MMU enable. */ | ||
15 | #define LSU_CONTROL_IM _AC(0x0000000000000004,UL) /* Instruction MMU enable. */ | ||
16 | #define LSU_CONTROL_DC _AC(0x0000000000000002,UL) /* Data cache enable. */ | ||
17 | #define LSU_CONTROL_IC _AC(0x0000000000000001,UL) /* Instruction cache enable.*/ | ||
18 | |||
19 | #endif /* !(_SPARC64_LSU_H) */ | ||