summaryrefslogtreecommitdiff
path: root/firmware/target/arm/mmu-arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/mmu-arm.h')
-rw-r--r--firmware/target/arm/mmu-arm.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/target/arm/mmu-arm.h b/firmware/target/arm/mmu-arm.h
index 92a81c0c34..155769489e 100644
--- a/firmware/target/arm/mmu-arm.h
+++ b/firmware/target/arm/mmu-arm.h
@@ -53,42 +53,24 @@ void map_section(unsigned int pa, unsigned int va, int mb, int flags);
53 53
54/* Commits entire DCache */ 54/* Commits entire DCache */
55void commit_dcache(void); 55void commit_dcache(void);
56/* deprecated alias */
57void clean_dcache(void);
58 56
59/* Commit and discard entire DCache, will do writeback */ 57/* Commit and discard entire DCache, will do writeback */
60void commit_discard_dcache(void); 58void commit_discard_dcache(void);
61/* deprecated alias */
62void invalidate_dcache(void);
63 59
64/* Write DCache back to RAM for the given range and remove cache lines 60/* Write DCache back to RAM for the given range and remove cache lines
65 * from DCache afterwards */ 61 * from DCache afterwards */
66void commit_discard_dcache_range(const void *base, unsigned int size); 62void commit_discard_dcache_range(const void *base, unsigned int size);
67/* deprecated alias */
68void invalidate_dcache_range(const void *base, unsigned int size);
69 63
70/* Write DCache back to RAM for the given range */ 64/* Write DCache back to RAM for the given range */
71void commit_dcache_range(const void *base, unsigned int size); 65void commit_dcache_range(const void *base, unsigned int size);
72/* deprecated alias */
73void clean_dcache_range(const void *base, unsigned int size);
74 66
75/* 67/*
76 * Remove cache lines for the given range from DCache 68 * Remove cache lines for the given range from DCache
77 * will *NOT* do write back except for buffer edges not on a line boundary 69 * will *NOT* do write back except for buffer edges not on a line boundary
78 */ 70 */
79void discard_dcache_range(const void *base, unsigned int size); 71void discard_dcache_range(const void *base, unsigned int size);
80/* deprecated alias */
81void dump_dcache_range(const void *base, unsigned int size);
82 72
83/* Discards the entire ICache, and commit+discards the entire DCache */ 73/* Discards the entire ICache, and commit+discards the entire DCache */
84void commit_discard_idcache(void); 74void commit_discard_idcache(void);
85/* deprecated alias */
86void invalidate_idcache(void);
87
88#define HAVE_CPUCACHE_COMMIT_DISCARD
89#define HAVE_CPUCACHE_COMMIT
90/* deprecated alias */
91#define HAVE_CPUCACHE_INVALIDATE
92#define HAVE_CPUCACHE_FLUSH
93 75
94#endif /* MMU_ARM_H */ 76#endif /* MMU_ARM_H */