-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 84918 b: refs/heads/master c: 738af38 h: refs/heads/master v: v3
- Loading branch information
Jesper Nilsson
committed
Feb 8, 2008
1 parent
4864673
commit 4903f0b
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 642d4ea0656f30257a1dcab65133a2f6aabffca5 | ||
refs/heads/master: 738af38bbc8bb4a5b081935c47744fdb7bf0f70b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
#ifndef _ASM_CRIS_ARCH_CACHE_H | ||
#define _ASM_CRIS_ARCH_CACHE_H | ||
|
||
#include <asm/arch/hwregs/dma.h> | ||
|
||
/* A cache-line is 32 bytes. */ | ||
#define L1_CACHE_BYTES 32 | ||
#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 */ |