Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8d5fb297
Commit
8d5fb297
authored
Nov 08, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Split out cache status bits per-CPU family.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
5a668651
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
5 deletions
+20
-5
include/asm-sh/cache.h
include/asm-sh/cache.h
+0
-5
include/asm-sh/cpu-sh2/cache.h
include/asm-sh/cpu-sh2/cache.h
+5
-0
include/asm-sh/cpu-sh2a/cache.h
include/asm-sh/cpu-sh2a/cache.h
+5
-0
include/asm-sh/cpu-sh3/cache.h
include/asm-sh/cpu-sh3/cache.h
+5
-0
include/asm-sh/cpu-sh4/cache.h
include/asm-sh/cpu-sh4/cache.h
+5
-0
No files found.
include/asm-sh/cache.h
View file @
8d5fb297
...
@@ -12,11 +12,6 @@
...
@@ -12,11 +12,6 @@
#include <linux/init.h>
#include <linux/init.h>
#include <asm/cpu/cache.h>
#include <asm/cpu/cache.h>
#define SH_CACHE_VALID 1
#define SH_CACHE_UPDATED 2
#define SH_CACHE_COMBINED 4
#define SH_CACHE_ASSOC 8
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
#define __read_mostly __attribute__((__section__(".data.read_mostly")))
...
...
include/asm-sh/cpu-sh2/cache.h
View file @
8d5fb297
...
@@ -12,6 +12,11 @@
...
@@ -12,6 +12,11 @@
#define L1_CACHE_SHIFT 4
#define L1_CACHE_SHIFT 4
#define SH_CACHE_VALID 1
#define SH_CACHE_UPDATED 2
#define SH_CACHE_COMBINED 4
#define SH_CACHE_ASSOC 8
#if defined(CONFIG_CPU_SUBTYPE_SH7619)
#if defined(CONFIG_CPU_SUBTYPE_SH7619)
#define CCR1 0xffffffec
#define CCR1 0xffffffec
#define CCR CCR1
#define CCR CCR1
...
...
include/asm-sh/cpu-sh2a/cache.h
View file @
8d5fb297
...
@@ -12,6 +12,11 @@
...
@@ -12,6 +12,11 @@
#define L1_CACHE_SHIFT 4
#define L1_CACHE_SHIFT 4
#define SH_CACHE_VALID 1
#define SH_CACHE_UPDATED 2
#define SH_CACHE_COMBINED 4
#define SH_CACHE_ASSOC 8
#define CCR1 0xfffc1000
#define CCR1 0xfffc1000
#define CCR2 0xfffc1004
#define CCR2 0xfffc1004
...
...
include/asm-sh/cpu-sh3/cache.h
View file @
8d5fb297
...
@@ -12,6 +12,11 @@
...
@@ -12,6 +12,11 @@
#define L1_CACHE_SHIFT 4
#define L1_CACHE_SHIFT 4
#define SH_CACHE_VALID 1
#define SH_CACHE_UPDATED 2
#define SH_CACHE_COMBINED 4
#define SH_CACHE_ASSOC 8
#define CCR 0xffffffec
/* Address of Cache Control Register */
#define CCR 0xffffffec
/* Address of Cache Control Register */
#define CCR_CACHE_CE 0x01
/* Cache Enable */
#define CCR_CACHE_CE 0x01
/* Cache Enable */
...
...
include/asm-sh/cpu-sh4/cache.h
View file @
8d5fb297
...
@@ -12,6 +12,11 @@
...
@@ -12,6 +12,11 @@
#define L1_CACHE_SHIFT 5
#define L1_CACHE_SHIFT 5
#define SH_CACHE_VALID 1
#define SH_CACHE_UPDATED 2
#define SH_CACHE_COMBINED 4
#define SH_CACHE_ASSOC 8
#define CCR 0xff00001c
/* Address of Cache Control Register */
#define CCR 0xff00001c
/* Address of Cache Control Register */
#define CCR_CACHE_OCE 0x0001
/* Operand Cache Enable */
#define CCR_CACHE_OCE 0x0001
/* Operand Cache Enable */
#define CCR_CACHE_WT 0x0002
/* Write-Through (for P0,U0,P3) (else writeback)*/
#define CCR_CACHE_WT 0x0002
/* Write-Through (for P0,U0,P3) (else writeback)*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment