Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
738af38b
Commit
738af38b
authored
Nov 30, 2007
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS v32: Add prototypes for cache flushing
We need these to work around some cache bugs in CRISv32 chips.
parent
642d4ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
include/asm-cris/arch-v32/cache.h
include/asm-cris/arch-v32/cache.h
+11
-0
No files found.
include/asm-cris/arch-v32/cache.h
View file @
738af38b
#ifndef _ASM_CRIS_ARCH_CACHE_H
#ifndef _ASM_CRIS_ARCH_CACHE_H
#define _ASM_CRIS_ARCH_CACHE_H
#define _ASM_CRIS_ARCH_CACHE_H
#include <asm/arch/hwregs/dma.h>
/* A cache-line is 32 bytes. */
/* A cache-line is 32 bytes. */
#define L1_CACHE_BYTES 32
#define L1_CACHE_BYTES 32
#define L1_CACHE_SHIFT 5
#define L1_CACHE_SHIFT 5
void
flush_dma_list
(
dma_descr_data
*
descr
);
void
flush_dma_descr
(
dma_descr_data
*
descr
,
int
flush_buf
);
#define flush_dma_context(c) \
flush_dma_list(phys_to_virt((c)->saved_data));
void
cris_flush_cache_range
(
void
*
buf
,
unsigned
long
len
);
void
cris_flush_cache
(
void
);
#endif
/* _ASM_CRIS_ARCH_CACHE_H */
#endif
/* _ASM_CRIS_ARCH_CACHE_H */
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